refactor file2 and add span with ownership

This commit is contained in:
2024-05-26 21:32:44 +02:00
parent 2420af464f
commit f2f001b190
7 changed files with 72 additions and 14 deletions

View File

@ -7,7 +7,7 @@
// non owning view
template<typename T>
struct Span final {
struct Span {
const T* ptr {nullptr};
uint64_t size {0};