deductiongu...td::extents(3)
π deductionguidesforstd::extents π
okay bestie, you're looking at the manual page for deductionguidesforstd::extents, and the header calls it deductiongu...td::extents(3). The manual name is C++ Standard Libary (yes, that spelling is right here), section 3. We're in the standard-library docs and it's giving deduction guide main character energy. π
πΈ NAME πΈ
deductionguidesforstd::extents - deductionguidesforstd::extents
β¨ Synopsis β¨
Defined in header <mdspan>
template< class... Integrals > (since C++23)
explicit extents( Integrals... ) -> /* see below */;
A deduction guide is provided for std::extents to allow deduction from integral arguments. That's literally the whole job, and it ate. π«Ά
The deduced type is equivalent to:
std::dextents<std::size_t, sizeof...(Integrals)> (until C++26)
std::extents<std::size_t, /*maybe-static-ext*/<Integrals>...> (since C++26)
This overload participates in overload resolution only if (std::is_convertible_v<Integrals, std::size_t> && ...) is true. No cap, that's the condition. β
π¦ Example π¦
This section is incompleteReason: no example
not me reading an incomplete example section π it's giving "we'll finish this later" energy.
π See also π
constructorβ constructs an extents (public member function)
π Category: π
Todo no example
mwah π β source/version: http://cppreference.com, date: 2024.06.10, and the page tag is deductiongu...td::extents(3). Go deduce something cute, bestie πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms