diff --git a/include/blt/std/ranges.h b/include/blt/std/ranges.h index bb29df4..9f9ba7e 100644 --- a/include/blt/std/ranges.h +++ b/include/blt/std/ranges.h @@ -9,8 +9,10 @@ #define BLT_RANGES_H #include +#include #include #include +#include namespace blt { @@ -165,6 +167,26 @@ namespace blt return range_itr(_end - offset, offset == 0); } }; + + inline constexpr std::size_t dynamic_extent = std::numeric_limits::max(); + + template + class span + { + public: + using element_type = T; + using value_type = std::remove_cv_t; + using size_type = blt::size_t; + using difference_type = std::ptrdiff_t; + using pointer = T*; + using const_pointer = const T*; + using reference = T&; + using const_reference = const T&; + + private: + + public: + }; } #endif //BLT_RANGES_H