[#BloombergLP-bslmf-IsSame] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::IsSame :relfileprefix: ../../ :mrdocs: This `struct` template implements a meta‐function to determine if the (template parameter) `t_TYPE1` and the (template parameter) `t_TYPE2` are the same. This `struct` derives from `bsl::true_type` if `t_TYPE1` and `t_TYPE2` are the same, and `bsl::false_type` otherwise. == Synopsis Declared in `<bslmf_issame.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_TYPE1, class t_TYPE2> struct IsSame : bsl::is_same<t_TYPE1, t_TYPE2>::type ---- == Description Note that although this `struct` is functionally equivalent to `bsl::is_same`, the use of `bsl::is_same` should be preferred. == Base Classes [cols="1,4"] |=== | Name| Description | `bsl::is_same<t_TYPE1, t_TYPE2>::type` | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#