Lines Matching refs:std
35 struct AllowMultimapping<oneapi::tbb::concurrent_multimap<Args...>> : std::true_type {};
38 using Allocator = LocalCountingAllocator<std::allocator<std::pair<const Key, Mapped>>>;
40 using map_type = oneapi::tbb::concurrent_map<int, int, std::less<int>, Allocator<int, int>>;
41 using multimap_type = oneapi::tbb::concurrent_multimap<int, int, std::less<int>, Allocator<int, int…
60 static_assert(std::is_same<typename default_container_type::key_compare, std::less<int>>::value, in test_member_types()
62 …static_assert(std::is_same<typename default_container_type::allocator_type, oneapi::tbb::tbb_alloc… in test_member_types()
66 using test_allocator_type = std::allocator<std::pair<const int, int>>; in test_member_types()
70 static_assert(std::is_same<typename container_type::key_type, int>::value, in test_member_types()
72 static_assert(std::is_same<typename container_type::mapped_type, int>::value, in test_member_types()
74 … static_assert(std::is_same<typename container_type::value_type, std::pair<const int, int>>::value, in test_member_types()
77 static_assert(std::is_unsigned<typename container_type::size_type>::value, in test_member_types()
79 static_assert(std::is_signed<typename container_type::difference_type>::value, in test_member_types()
82 …static_assert(std::is_same<typename container_type::key_compare, decltype(test_comparator)>::value, in test_member_types()
84 static_assert(std::is_same<typename container_type::allocator_type, test_allocator_type>::value, in test_member_types()
88 static_assert(std::is_same<typename container_type::reference, value_type&>::value, in test_member_types()
90 static_assert(std::is_same<typename container_type::const_reference, const value_type&>::value, in test_member_types()
93 …static_assert(std::is_same<typename container_type::pointer, typename std::allocator_traits<alloca… in test_member_types()
95 …static_assert(std::is_same<typename container_type::const_pointer, typename std::allocator_traits<… in test_member_types()
100 static_assert(!std::is_const<typename container_type::iterator::value_type>::value, in test_member_types()
104 static_assert(std::is_const<typename container_type::const_iterator::value_type>::value, in test_member_types()
111 std::vector<std::pair<int, int>> v(10, {0, 0}); in test_deduction_guides()
113 static_assert(std::is_same_v<decltype(map), TMap<int, int> >, "WRONG\n"); in test_deduction_guides()
115 std::greater<int> compare; in test_deduction_guides()
116 std::allocator<std::pair<const int, int>> allocator; in test_deduction_guides()
118 static_assert(std::is_same_v<decltype(map2), TMap<int, int, decltype(compare)> >, "WRONG\n"); in test_deduction_guides()
121 …static_assert(std::is_same_v<decltype(map3), TMap<int, int, std::less<int>, decltype(allocator)> >… in test_deduction_guides()
124 …static_assert(std::is_same_v<decltype(map4), TMap<int, int, decltype(compare), decltype(allocator)… in test_deduction_guides()
126 using pair_t = std::pair<const int, int>; in test_deduction_guides()
129 static_assert(std::is_same_v<decltype(map5), TMap<int, int> >, "WRONG\n"); in test_deduction_guides()
132 static_assert(std::is_same_v<decltype(map6), TMap<int, int, decltype(compare)> >, "WRONG\n"); in test_deduction_guides()
135 …static_assert(std::is_same_v<decltype(map7), TMap<int, int, std::less<int>, decltype(allocator)> >… in test_deduction_guides()
138 …static_assert(std::is_same_v<decltype(map8), TMap<int, int, decltype(compare), decltype(allocator)… in test_deduction_guides()
145 check_heterogeneous_functions_key_string<MapType, std::string, std::string>(); in test_heterogeneous_functions()
151 using container_type = oneapi::tbb::concurrent_map<T, T, std::less<T>, Allocator>;
154 using container_value_type = std::pair<const T, T>;
161 using container_type = oneapi::tbb::concurrent_multimap<T, T, std::less<T>, Allocator>;
164 using container_value_type = std::pair<const T, T>;