Home
last modified time | relevance | path

Searched refs:do_throw (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
H A Dmerge.pass.cpp64 bool do_throw = false; in main() local
66 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
71 do_throw = true; in main()
78 do_throw = false; in main()
80 assert(!do_throw); in main()
81 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
82 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/set/
H A Dmerge.pass.cpp64 bool do_throw = false; in main() local
66 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main()
67 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main()
71 do_throw = true; in main()
78 do_throw = false; in main()
80 assert(!do_throw); in main()
81 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main()
82 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multiset/
H A Dmerge.pass.cpp64 bool do_throw = false; in main() local
66 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main()
67 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main()
71 do_throw = true; in main()
78 do_throw = false; in main()
80 assert(!do_throw); in main()
81 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main()
82 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.modifiers/
H A Dmerge.pass.cpp64 bool do_throw = false; in main() local
66 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
71 do_throw = true; in main()
78 do_throw = false; in main()
80 assert(!do_throw); in main()
81 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
82 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
H A Dmerge.pass.cpp64 bool do_throw = false; in main() local
66 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
71 do_throw = true; in main()
78 do_throw = false; in main()
80 assert(!do_throw); in main()
81 …ssert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
82 …ssert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
H A Dmerge.pass.cpp64 bool do_throw = false; in main() local
66 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
71 do_throw = true; in main()
78 do_throw = false; in main()
80 assert(!do_throw); in main()
81 …ssert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
82 …ssert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multiset/
H A Dmerge.pass.cpp64 bool do_throw = false; in main() local
66 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
67 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
71 do_throw = true; in main()
78 do_throw = false; in main()
80 assert(!do_throw); in main()
81 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
82 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/
H A Dmerge.pass.cpp64 bool do_throw = false; in main() local
66 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
67 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
71 do_throw = true; in main()
78 do_throw = false; in main()
80 assert(!do_throw); in main()
81 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
82 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
/llvm-project-15.0.7/libcxxabi/test/
H A Dbacktrace_test.pass.cpp38 void call2(size_t* ntraced, bool do_throw) { in call2() argument
39 if (do_throw) { in call2()
47 void call1(size_t* ntraced, bool do_throw) { in call1() argument
48 call2(ntraced, do_throw); in call1()
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
H A Dswap.pass.cpp58 template <bool Throws> void do_throw() {} in do_throw() function
60 template <> void do_throw<true>() { in do_throw() function
82 do_throw<!NT_Move>(); in NothrowTypeImp()
91 do_throw<!NT_MoveAssign>(); in operator =()
118 do_throw<!NT_Swap>(); in swap()
172 do_throw<true>(); in ThrowsOnSecondMove()