boost::multi::const_subarray::static_array_cast
yields a view of the array in which the internal representation is static_cast to another type (and/or pointer)
Synopses
Declared in <boost/multi/array_ref.hpp>
yields a view of the array in which the internal representation is static_cast to another type (and/or pointer)
template<
class T2,
class P2 = std::pointer_traits<element_ptr>::rebind<T2>>
requires std::is_const_v<typename std::pointer_traits<P2>::element_type>
constexpr
auto
static_array_cast() const &;
template<
class T2,
class P2 = std::pointer_traits<element_ptr>::rebind<T2>>
requires !std::is_const_v<typename std::pointer_traits<P2>::element_type>
[[deprecated("violates constness")]]
constexpr
auto
static_array_cast() const &;
template<
class T2,
class P2 = std::pointer_traits<element_ptr>::rebind<T2>>
constexpr
auto
static_array_cast() &&;
template<
class T2,
class P2 = std::pointer_traits<element_ptr>::rebind<T2>>
constexpr
auto
static_array_cast() &;
Created with MrDocs