Casts in to a span of U over the same memory using const_cast.
Declared in <folly/container/span.h>
Casts in to a span of U over the same memory using const_cast.
template<typename U>
constexpr
auto
const_span_cast(/* implementation-defined */ in);
» more...
Casts in to a span of U over the same memory using const_cast.
template<typename U>
constexpr
auto
const_span_cast(std::span<T, Extent> in);
» more...
A span of U referring to the same region.
| Name | Description |
|---|---|
| in | The source span. |