Simplified version of the C++20 std::span.
More...
#include "CxxUtils/concepts.h"
#include <cstdlib>
#include <type_traits>
#include <iterator>
#include <cassert>
#include "CxxUtils/features.h"
#include "CxxUtils/span.icc"
Go to the source code of this file.
|
constexpr size_t | CxxUtils::dynamic_extent = static_cast<size_t>(-1) |
| Used to specify a subrange of indefinite size in subspan(). More...
|
|
template<class T , class U > |
constexpr bool | CxxUtils::valid_span_type_v = std::is_convertible_v<U(*)[], T(*)[]> |
| Is U* a valid type to use to initialize a span<T>? No more than const-conversion. More...
|
|
Simplified version of the C++20 std::span.
- Author
- scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
- Date
- Jan, 2022
Definition in file span.h.