/external/libcxx/test/std/containers/associative/map/map.modifiers/ |
D | merge.pass.cpp | 37 struct throw_comparator struct 41 throw_comparator(bool& should_throw) : should_throw_(should_throw) {} in throw_comparator() argument 66 typedef std::map<Counter<int>, int, throw_comparator> map_type; in main() argument 67 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main() 68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main() 82 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main() 83 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
|
/external/libcxx/test/std/containers/associative/set/ |
D | merge.pass.cpp | 37 struct throw_comparator struct 41 throw_comparator(bool& should_throw) : should_throw_(should_throw) {} in throw_comparator() argument 66 typedef std::set<Counter<int>, throw_comparator> set_type; in main() argument 67 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main() 68 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main() 82 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main() 83 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
|
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/ |
D | merge.pass.cpp | 37 struct throw_comparator struct 41 throw_comparator(bool& should_throw) : should_throw_(should_throw) {} in throw_comparator() argument 66 typedef std::multimap<Counter<int>, int, throw_comparator> map_type; in main() argument 67 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main() 68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main() 82 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main() 83 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
|
/external/libcxx/test/std/containers/associative/multiset/ |
D | merge.pass.cpp | 37 struct throw_comparator struct 41 throw_comparator(bool& should_throw) : should_throw_(should_throw) {} in throw_comparator() argument 66 typedef std::multiset<Counter<int>, throw_comparator> set_type; in main() argument 67 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main() 68 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main() 82 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main() 83 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
|