Lines Matching refs:right
42 bm.right.insert( bm_type::right_value_type( 3 , 3.3, "three" ) ); in test_bimap_info()
45 BOOST_TEST( bm.right.find(1)->info == "1" ); in test_bimap_info()
48 BOOST_TEST( bm.right.find(2)->info == "2" ); in test_bimap_info()
50 bm.right.find(3)->info = "3"; in test_bimap_info()
51 BOOST_TEST( bm.right.find(3)->info == "3" ); in test_bimap_info()
56 bm.right.insert( bm_type::right_value_type( 6 , 6.6) ); in test_bimap_info()
58 BOOST_TEST( bm.right.find(4)->info == "" ); in test_bimap_info()
61 BOOST_TEST( bm.right.info_at(4) == "4" ); in test_bimap_info()
62 BOOST_TEST( cbm.right.info_at(4) == "4" ); in test_bimap_info()
64 bm.right.info_at(5) = "5"; in test_bimap_info()
73 struct right {}; struct
81 tagged<int,right>, in test_tagged_bimap_info()
89 bm.right.insert( bm_type::right_value_type(3,3,3) ); in test_tagged_bimap_info()
92 BOOST_TEST( bm.right.find(1)->get<info>() == 10 ); in test_tagged_bimap_info()
93 BOOST_TEST( cbm.right.find(1)->get<info>() == 10 ); in test_tagged_bimap_info()
96 BOOST_TEST( bm.right.find(2)->get<info>() == 20 ); in test_tagged_bimap_info()
97 BOOST_TEST( cbm.right.find(2)->get<info>() == 20 ); in test_tagged_bimap_info()
99 bm.right.find(3)->get<info>() = 30; in test_tagged_bimap_info()
100 BOOST_TEST( bm.right.find(3)->get<info>() == 30 ); in test_tagged_bimap_info()
101 BOOST_TEST( cbm.right.find(3)->get<info>() == 30 ); in test_tagged_bimap_info()
106 bm.right.insert( bm_type::right_value_type(6,6) ); in test_tagged_bimap_info()
109 BOOST_TEST( bm.right.info_at(4) == 4 ); in test_tagged_bimap_info()
110 BOOST_TEST( cbm.right.info_at(4) == 4 ); in test_tagged_bimap_info()
112 bm.right.info_at(5) = 5; in test_tagged_bimap_info()