56 #ifndef _RWSTD_RW_PAIR_H_INCLUDED
57 #define _RWSTD_RW_PAIR_H_INCLUDED
68 NAMESPACE_BENTLEY_BSTDCXX_BEGIN
72 template <
class _TypeT,
class _TypeU>
83 #ifndef _RWSTD_NO_EMPTY_MEM_INITIALIZER
88 #endif // _RWSTD_NO_EMPTY_MEM_INITIALIZER
95 template <
class _TypeX,
class _TypeY>
99 template <
class _TypeX,
class _TypeY,
100 typename std::enable_if<std::is_convertible<_TypeX, _TypeT>::value && std::is_convertible<_TypeY, _TypeY>::value,
void>::type>
104 template<
class _TypeX,
class _TypeY>
107 first = std::forward<_TypeX>(__rhs.first);
108 second = std::forward<_TypeY>(__rhs.second);
113 template <
class _TypeX,
class _TypeY>
120 template <
class _TypeT,
class _TypeU>
128 template <
class _TypeT,
class _TypeU>
132 return !(__x == __y);
137 template <
class _TypeT,
class _TypeU>
141 std::less<_TypeT> __lessT;
144 return __lessT (__x.first, __y.first)
145 || ( !__lessT (__y.first, __x.first)
146 && std::less<_TypeU>()(__x.second, __y.second));
150 template <
class _TypeT,
class _TypeU>
158 template <
class _TypeT,
class _TypeU>
166 template <
class _TypeT,
class _TypeU>
175 template <
class _TypeT,
class _TypeU>
183 NAMESPACE_BENTLEY_BSTDCXX_END
185 #endif // _RWSTD_RW_PAIR_H_INCLUDED
bool operator>=(const bpair< _TypeT, _TypeU > &__x, const bpair< _TypeT, _TypeU > &__y)
Definition: bpair.h:160
bool operator==(const bpair< _TypeT, _TypeU > &__x, const bpair< _TypeT, _TypeU > &__y)
Definition: bpair.h:122
first_type first
Definition: bpair.h:78
bool operator>(const bpair< _TypeT, _TypeU > &__x, const bpair< _TypeT, _TypeU > &__y)
Definition: bpair.h:152
bpair()
Definition: bpair.h:82
_TypeU second_type
Definition: bpair.h:76
A template that has many of the capabilities of std::pair.
Definition: bpair.h:73
bpair< _TypeT, _TypeU > & operator=(bpair< _TypeX, _TypeY > &&__rhs)
Definition: bpair.h:105
bpair(bpair< _TypeX, _TypeY > &&__rhs)
Definition: bpair.h:101
bpair< _TypeT, _TypeU > make_bpair(_TypeT __x, _TypeU __y)
Definition: bpair.h:177
second_type second
Definition: bpair.h:79
bpair(const first_type &__x, const second_type &__y)
Definition: bpair.h:91
bool operator!=(const bpair< _TypeT, _TypeU > &__x, const bpair< _TypeT, _TypeU > &__y)
Definition: bpair.h:130
_TypeT first_type
Definition: bpair.h:75
bpair(const bpair< _TypeX, _TypeY > &__rhs)
Definition: bpair.h:96