std::is_same
From cppreference.com
Template:cpp/types/sidebar Template:ddcl list begin <tr class="t-dsc-header">
<td>Defined in header
</td>
<type_traits>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td >template< class T, class U >
struct is_same;
</td>
struct is_same;
<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> Template:ddcl list end
If T
and U
name the same type with the same const-volatile qualifications, provides the member constant value
equal to Template:cpp. Otherwise value
is Template:cpp.
Contents |
Member objects
Template:tdcl list begin Template:tdcl list hitem Template:tdcl list item Template:tdcl list end