Trait indicating pair is bitwise equality-comparable when both elements are and the pair has no padding.
Declared in <bslstl_pair.h>
template<
class T1,
class T2>
struct IsBitwiseEqualityComparable<bsl::pair<T1, T2>>
: bsl::integral_constant<bool, bslmf::IsBitwiseEqualityComparable<T1>::value && bslmf::IsBitwiseEqualityComparable<T2>::value && sizeof(T1) + sizeof(T2) == sizeof(bsl::pair<T1, T2>)>
| Name | Description |
|---|---|
bsl::integral_constant<bool, bslmf::IsBitwiseEqualityComparable<T1>::value && bslmf::IsBitwiseEqualityComparable<T2>::value && sizeof(T1) + sizeof(T2) == sizeof(bsl::pair<T1, T2>)> | Metafunction representing a compile-time constant of the specified (template parameter) t_TYPE with the specified (template parameter) t_VALUE. |
| Name | Description |
|---|---|
type | Alias for this integral_constant specialization. |
value_type | Alias for the (template parameter) t_TYPE. |
| Name | Description |
|---|---|
operator() | Return a copy of the template argument t_VALUE. |
operator t_TYPE | Return a copy of the template argument t_VALUE. |
| Name | Description |
|---|---|
value | The compile-time constant value of this metafunction. |