| Defined in header <mdspan>
|
||
| template< class... Integrals > explicit extents( Integrals... ) -> /* see below */; |
(since C++23) | |
A deduction guide is provided for std::extents to allow deduction from integral arguments.
|
|
(until C++26) |
|
|
(since C++26) |
This overload participates in overload resolution only if (std::is_convertible_v<Integrals, std::size_t> && ...) is true.
Example
Reason: no example
See also
constructs an extents (public member function) |
Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.