std::is_reference
From cppreference.com
Defined in header <type_traits>
|
||
template< class T > struct is_reference; |
(since C++11) | |
std::is_reference
is a UnaryTypeTrait.
If T
is a reference type (lvalue reference or rvalue reference), provides the member constant value
equal true. For any other type, value
is false.
If the program adds specializations for std::is_reference
or std::is_reference_v
, the behavior is undefined.
Contents |