[#bsl-is_same-051] = xref:bsl.adoc[bsl]::is_same :relfileprefix: ../ :mrdocs: This `struct` template provides a meta‐function to determine whether the (template parameter) `t_TYPE1` and the (template parameter) `t_TYPE2` are the same. This generic default template derives from `bsl::false_type`. A template specialization is provided (below) that derives from `bsl::true_type`. == Synopsis Declared in `<bslmf_issame.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_TYPE1, class t_TYPE2> struct is_same : xref:bsl/false_type.adoc[false_type] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:bsl/false_type.adoc[false_type]` | Metafunction representing the boolean constant `false`. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:bsl/is_same-05e.adoc[`is_same<t_TYPE, t_TYPE>`] | This partial specialization of `is_same` derives from `bsl::true_type` for when the (template parameter) types are the same. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Variant_IsSameReturnType-08.adoc[`Variant_IsSameReturnType<t_RET, t_VISITOR, t_VARIANT, 0>`] | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#