|
template<class T , std::size_t N> |
CELER_CONSTEXPR_FUNCTION Span< T, N > | celeritas::make_span (Array< T, N > &x) |
| Get a mutable fixed-size view to an array.
|
|
template<class T , std::size_t N> |
CELER_CONSTEXPR_FUNCTION Span< T const, N > | celeritas::make_span (Array< T, N > const &x) |
| Get a constant fixed-size view to an array.
|
|
template<class T , std::size_t N> |
CELER_CONSTEXPR_FUNCTION Span< T, N > | celeritas::make_span (T(&arr)[N]) |
| Get a mutable fixed-size view to a C array.
|
|
template<class T > |
CELER_FUNCTION Span< typename T::value_type > | celeritas::make_span (T &cont) |
| Get a mutable view to a generic container.
|
|
template<class T > |
CELER_FUNCTION Span< typename T::value_type const > | celeritas::make_span (T const &cont) |
| Get a const view to a generic container.
|
|
template<class T , std::size_t N> |
CELER_CONSTEXPR_FUNCTION auto | celeritas::make_array (Span< T, N > const &s) |
| Construct an array from a fixed-size span.
|
|