boost::multi::const_subarray::extents

Returns the index extensions (structured cartesian product of half‐open ranges) for all dimensions as an extents_type (extents_t<D>), a tuple of D index_extension values each encoding [first, last)]. The result can be passed directly to array constructors or compared for equality of extents. Prefer this over the deprecated extensions().

Synopsis

[[nodiscard]]
constexpr
extents_type
extents() const;

Return Value

The return value should not be discarded.

Created with MrDocs