std::mdspan(C++17) | ||||
| Sequence | ||||
(C++11) | ||||
(C++26) | ||||
(C++26) | ||||
(C++11) | ||||
| Associative | ||||
| Unordered associative | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Adaptors | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
| Views | ||||
(C++20) | ||||
(C++23) | ||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Defined in header <mdspan> | ||
template<class CArray> requires(std::is_array_v<CArray>&&std::rank_v<CArray>==1) | (1) | (since C++23) |
template<class Pointer> requires(std::is_pointer_v<std::remove_reference_t<Pointer>>) | (2) | (since C++23) |
template<class ElementType,class...Integrals> requires((std::is_convertible_v<Integrals,std::size_t>&& ...)&& | (3) | (since C++23) |
template<class ElementType,class OtherIndexType,std::size_t N> mdspan( ElementType*,std::span<OtherIndexType, N>) | (4) | (since C++23) |
template<class ElementType,class OtherIndexType,std::size_t N> mdspan( ElementType*,conststd::array<OtherIndexType, N>&) | (5) | (since C++23) |
template<class ElementType,class IndexType,std::size_t...ExtentsPack> mdspan( ElementType*,conststd::extents<IndexType, ExtentsPack...>&) | (6) | (since C++23) |
template<class ElementType,class MappingType> mdspan( ElementType*,const MappingType&) | (7) | (since C++23) |
template<class MappingType,class AccessorType> mdspan(consttypename AccessorType::data_handle_type&,const MappingType&, | (8) | (since C++23) |
| This section is incomplete Reason: explanation |
| This section is incomplete Reason: no example |