Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::extent< T, N > Class Template Reference

obtains the size of an array type along a specified dimension More...

Inheritance diagram for std::extent< T, N >:
Inheritance graph

Additional Inherited Members

- Public Types inherited from std::integral_constant< size_t, extent_v< T, 0 > >
using type
 The type of this class.
 
using value_type
 The type of the value.
 
- Public Member Functions inherited from std::integral_constant< size_t, extent_v< T, 0 > >
constexpr operator value_type () const noexcept
 Implicit conversion to Type.
 
constexpr auto operator() () const noexcept -> value_type
 Nullary function call operator.
 
- Static Public Attributes inherited from std::integral_constant< size_t, extent_v< T, 0 > >
static constexpr value_type value
 The constant.
 

Detailed Description

template<class T, unsigned N = 0>
class std::extent< T, N >

obtains the size of an array type along a specified dimension

Template Parameters
Ttype to query
Nspecified array dimension

If T is an array type of rank greater than N, obtains the bound of the N 'th dimension of T as the value. If T is an array type of unknown bound, then the value is 0. In all other cases, value is 0.


The documentation for this class was generated from the following file: