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.
Declared in <bslmf_issame.h>
template<
class t_TYPE1,
class t_TYPE2>
struct IsSame
: bsl::is_same<t_TYPE1, t_TYPE2>::type
Note that although this struct is functionally equivalent to bsl::is_same, the use of bsl::is_same should be preferred.
| Name | Description |
|---|---|
bsl::is_same<t_TYPE1, t_TYPE2>::type |