RSC
0.16.0
|
Classes | |
struct | force_const |
struct | pair |
pair holds two objects of arbitrary type. More... | |
struct | pair_adapter |
Functions | |
template<class _T1 , class _T2 > | |
bool | operator== (const pair< _T1, _T2 > &__x, const pair< _T1, _T2 > &__y) |
Two pairs of the same type are equal iff their members are equal. More... | |
template<class _T1 , class _T2 > | |
bool | operator< (const pair< _T1, _T2 > &__x, const pair< _T1, _T2 > &__y) |
http://gcc.gnu.org/onlinedocs/libstdc++/20_util/howto.html#pairlt More... | |
template<class _T1 , class _T2 > | |
bool | operator!= (const pair< _T1, _T2 > &__x, const pair< _T1, _T2 > &__y) |
Uses operator== to find the result. More... | |
template<class _T1 , class _T2 > | |
bool | operator> (const pair< _T1, _T2 > &__x, const pair< _T1, _T2 > &__y) |
Uses operator< to find the result. More... | |
template<class _T1 , class _T2 > | |
bool | operator<= (const pair< _T1, _T2 > &__x, const pair< _T1, _T2 > &__y) |
Uses operator< to find the result. More... | |
template<class _T1 , class _T2 > | |
bool | operator>= (const pair< _T1, _T2 > &__x, const pair< _T1, _T2 > &__y) |
Uses operator< to find the result. More... | |
template<class _T1 , class _T2 > | |
pair< _T1, _T2 > | make_pair (_T1 __x, _T2 __y) |
A convenience wrapper for creating a pair from two objects. More... | |
|
inline |
A convenience wrapper for creating a pair from two objects.
__x | The first object. |
__y | The second object. |
The standard requires that the objects be passed by reference-to-const, but LWG issue #181 says they should be passed by const value. We follow the LWG by default.
Definition at line 115 of file PairWorkaround.h.
Referenced by rsc::logging::LoggerTreeNode::addChild(), rsc::patterns::Factory< Key, Interface >::createBase(), rsc::config::resolveConfigurationFile(), and rsc::runtime::Properties::set().
|
inline |
Uses operator==
to find the result.
Definition at line 80 of file PairWorkaround.h.
|
inline |
http://gcc.gnu.org/onlinedocs/libstdc++/20_util/howto.html#pairlt
Definition at line 73 of file PairWorkaround.h.
References rsc::patterns::detail::pair< _T1, _T2 >::first.
|
inline |
Uses operator<
to find the result.
Definition at line 92 of file PairWorkaround.h.
|
inline |
Two pairs of the same type are equal iff their members are equal.
Definition at line 67 of file PairWorkaround.h.
References rsc::patterns::detail::pair< _T1, _T2 >::first, and rsc::patterns::detail::pair< _T1, _T2 >::second.
|
inline |
Uses operator<
to find the result.
Definition at line 86 of file PairWorkaround.h.
|
inline |
Uses operator<
to find the result.
Definition at line 98 of file PairWorkaround.h.