Home | History | Annotate | Download | only in map

Lines Matching refs:pair

13 //           class Allocator = allocator<pair<const Key, T>>>
20 // typedef pair<const key_type, mapped_type> value_type;
43 static_assert((std::is_same<C::value_type, std::pair<const int, double> >::value), "");
45 static_assert((std::is_same<C::allocator_type, std::allocator<std::pair<const int, double> > >::value), "");
46 static_assert((std::is_same<C::reference, std::pair<const int, double>&>::value), "");
47 static_assert((std::is_same<C::const_reference, const std::pair<const int, double>&>::value), "");
48 static_assert((std::is_same<C::pointer, std::pair<const int, double>*>::value), "");
49 static_assert((std::is_same<C::const_pointer, const std::pair<const int, double>*>::value), "");
55 typedef std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> C;
58 static_assert((std::is_same<C::value_type, std::pair<const int, double> >::value), "");
60 static_assert((std::is_same<C::allocator_type, min_allocator<std::pair<const int, double> > >::value), "");
61 static_assert((std::is_same<C::reference, std::pair<const int, double>&>::value), "");
62 static_assert((std::is_same<C::const_reference, const std::pair<const int, double>&>::value), "");
63 static_assert((std::is_same<C::pointer, min_pointer<std::pair<const int, double>>>::value), "");
64 static_assert((std::is_same<C::const_pointer, min_pointer<const std::pair<const int, double>>>::value), "");