Lines Matching refs:extents
15 // [mdspan.extents], class template extents
17 class extents;
19 // [mdspan.extents.dextents], alias template dextents
23 // [mdspan.extents.dims], alias template dims
42 // extents synopsis
46 class extents {
52 // [mdspan.extents.obs], observers of the multidimensional index space
58 // [mdspan.extents.cons], constructors
59 constexpr extents() noexcept = default;
63 extents(const extents<_OtherIndexType, _OtherExtents...>&) noexcept;
65 constexpr explicit extents(_OtherIndexTypes...) noexcept;
68 extents(span<_OtherIndexType, N>) noexcept;
71 extents(const array<_OtherIndexType, N>&) noexcept;
73 // [mdspan.extents.cmp], comparison operators
75 friend constexpr bool operator==(const extents&,
76 const extents<_OtherIndexType, _OtherExtents...>&) noexcept;
80 // for example the default constructor must zero initialize dynamic extents
81 array<index_type, rank_dynamic()> dynamic-extents{}; // exposition only
85 explicit extents(Integrals...)
118 constexpr const extents_type& extents() const noexcept { return extents_; }
172 constexpr const extents_type& extents() const noexcept { return extents_; }
227 constexpr const extents_type& extents() const noexcept { return extents_; }
295 constexpr index_type extent(rank_type r) const noexcept { return extents().extent(r); }
336 constexpr const extents_type& extents() const noexcept { return map_.extents(); }
367 -> mdspan<remove_all_extents_t<CArray>, extents<size_t, extent_v<CArray, 0>>>;
372 -> mdspan<remove_pointer_t<remove_reference_t<Pointer>>, extents<size_t>>;
381 -> mdspan<ElementType, extents<size_t, maybe-static-ext<Integrals>...>>; // since C++26
392 mdspan(ElementType*, const extents<IndexType, ExtentsPack...>&)
393 -> mdspan<ElementType, extents<IndexType, ExtentsPack...>>;
416 # include <__mdspan/extents.h>