template< class T >
struct variant_size; /* undefined */
template< class T >
class variant_size<const T>;
template< class T >
class variant_size<volatile T>;
template< class T >
class variant_size<const volatile T>;
Provides access to the number of alternatives in a possibly cv-qualified variant as a compile-time constant expression.
Formally,
[edit] Helper variable template template< class T >sizeof...(Types)
All specializations of std::variant_size
satisfy UnaryTypeTrait with base characteristic std::integral_constant<std::size_t, N> for some N
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4