std::is same

GPTKB entity

Statements (16)
Predicate Object
gptkbp:instanceOf type trait
gptkbp:definedIn <type_traits>
gptkbp:describes Checks whether two types are the same.
gptkbp:example std::is_same<int, float>::value // false
std::is_same<int, int>::value // true
gptkbp:headerFile <type_traits>
https://www.w3.org/2000/01/rdf-schema#label std::is same
gptkbp:inheritsFrom gptkb:std::integral_constant
gptkbp:introducedIn gptkb:C++11
gptkbp:namespace std
gptkbp:specialty std::integral_constant<bool, ...>
gptkbp:templateParameters T, U
gptkbp:valuation true if T and U are the same type, false otherwise.
gptkbp:valueType bool
gptkbp:bfsParent gptkb:C++11
gptkbp:bfsLayer 6