BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslmf::IsSame< t_TYPE1, t_TYPE2 > Struct Template Reference

#include <bslmf_issame.h>

Inheritance diagram for bslmf::IsSame< t_TYPE1, t_TYPE2 >:
bsl::integral_constant< t_TYPE, t_VALUE >

Detailed Description

template<class t_TYPE1, class t_TYPE2>
struct bslmf::IsSame< t_TYPE1, t_TYPE2 >

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.

Note
Note that although this struct is functionally equivalent to bsl::is_same, the use of bsl::is_same should be preferred.

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< t_TYPE, t_VALUE >
typedef t_TYPE value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from bsl::integral_constant< t_TYPE, t_VALUE >
 integral_constant ()=default
 
 integral_constant (const integral_constant &)=default
 
integral_constant operator= (const integral_constant &)=default
 
 ~integral_constant ()=default
 
 operator value_type () const
 
value_type operator() () const
 
- Static Public Attributes inherited from bsl::integral_constant< t_TYPE, t_VALUE >
static const t_TYPE value = t_VALUE
 

The documentation for this struct was generated from the following file: