Searched refs:pair_of_ints (Results 1 – 5 of 5) sorted by relevance
/third_party/boost/libs/multi_index/test/ |
D | test_serialization2.cpp | 27 pair_of_ints, in test_serialization2() 30 BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,first) in test_serialization2() 33 BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,second) in test_serialization2() 38 non_std_allocator<pair_of_ints> in test_serialization2() 44 m.insert(pair_of_ints(4,0)); in test_serialization2() 47 m.insert(pair_of_ints(3,1)); in test_serialization2() 48 m.insert(pair_of_ints(2,1)); in test_serialization2() 51 m.insert(pair_of_ints(1,1)); in test_serialization2() 54 m.insert(pair_of_ints(0,0)); in test_serialization2() 57 m.insert(pair_of_ints(5,1)); in test_serialization2() [all …]
|
D | test_update.cpp | 120 pair_of_ints, in test_update() 122 ordered_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,first)>, in test_update() 123 hashed_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,second)>, in test_update() 130 iis.insert(pair_of_ints(0,0)); in test_update() 131 iis.insert(pair_of_ints(5,5)); in test_update() 132 iis.insert(pair_of_ints(10,10)); in test_update() 134 BOOST_TEST(!iis.replace(iis.begin(),pair_of_ints(5,0))); in test_update() 135 BOOST_TEST(!ii2.replace(ii2.begin(),pair_of_ints(0,5))); in test_update() 136 BOOST_TEST(!ii1.replace(project<1>(iis,iis.begin()),pair_of_ints(5,11))); in test_update() 137 BOOST_TEST(!iis.replace(iis.begin(),pair_of_ints(11,5))); in test_update() [all …]
|
D | pair_of_ints.hpp | 17 struct pair_of_ints struct 19 pair_of_ints(int first_=0,int second_=0):first(first_),second(second_){} in pair_of_ints() function 21 bool operator==(const pair_of_ints& x)const in operator ==() argument 26 bool operator!=(const pair_of_ints& x)const{return !(*this==x);} in operator !=() argument 31 inline void increment_first(pair_of_ints& p) in increment_first() argument 36 inline void increment_second(pair_of_ints& p) in increment_second() 46 inline int decrement_first(pair_of_ints& p) in decrement_first() 51 inline int decrement_second(pair_of_ints& p) in decrement_second() 67 void serialize(Archive& ar,pair_of_ints& p,const unsigned int) in serialize()
|
D | test_comparison.cpp | 82 pair_of_ints, in test_comparison() 84 hashed_non_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,first)> in test_comparison() 87 hc1.insert(pair_of_ints(0,0)); in test_comparison() 88 hc1.insert(pair_of_ints(0,1)); in test_comparison() 89 hc1.insert(pair_of_ints(0,2)); in test_comparison() 90 hc1.insert(pair_of_ints(0,3)); in test_comparison() 91 hc1.insert(pair_of_ints(1,0)); in test_comparison() 92 hc1.insert(pair_of_ints(1,1)); in test_comparison() 94 hc2.insert(pair_of_ints(0,2)); in test_comparison() 95 hc2.insert(pair_of_ints(0,1)); in test_comparison() [all …]
|
D | test_safe_mode.cpp | 457 pair_of_ints v=*it; in test_integral_bimap() 470 pair_of_ints, in test_safe_mode() 472 ordered_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,first)>, in test_safe_mode() 473 ordered_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,second)> > in test_safe_mode() 479 pair_of_ints, in test_safe_mode() 481 ordered_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,first)>, in test_safe_mode() 482 hashed_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,second)> > in test_safe_mode() 488 pair_of_ints, in test_safe_mode() 490 hashed_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,first)>, in test_safe_mode() 491 ordered_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,second)> > in test_safe_mode() [all …]
|