47bool operator== (
const RuntimeCmp <T>& lc,
const RuntimeCmp <T>& rc) {
51typedef std::set <int, RuntimeCmp <int> >
IntSet;
52typedef std::map <int, int, RuntimeCmp <int> >
IntMap;
59 IntSet set2 (reverse_order);
61 assert (set1.key_comp () == set2.key_comp ());
62 assert (set1.value_comp () == set2.value_comp ());
65 IntMap map2 (reverse_order);
67 assert (map1.key_comp () == map2.key_comp ());
bool operator==(const RuntimeCmp< T > &lc, const RuntimeCmp< T > &rc)
std::set< int, RuntimeCmp< int > > IntSet
std::map< int, int, RuntimeCmp< int > > IntMap
std::multiset< int, std::less< int >, std::allocator< int > > IntSet
RuntimeCmp(cmp_mode m=normal)
bool operator()(const T &t1, const T &t2) const