Home
last modified time | relevance | path

Searched refs:throws_on_move (Results 1 – 11 of 11) sorted by relevance

/external/libcxx/test/support/
Dexperimental_any_helpers.h299 struct throws_on_move struct
304 explicit throws_on_move(int val = 0) : value(val) { ++count; } in value() argument
306 throws_on_move(throws_on_move const & other) { in throws_on_move() function
311 throws_on_move(throws_on_move &&) { in throws_on_move() function
315 ~throws_on_move() { in ~throws_on_move() argument
319 throws_on_move& operator=(throws_on_move const&) = delete;
320 throws_on_move& operator=(throws_on_move &&) = delete; argument
323 int throws_on_move::count = 0;
Dany_helpers.h351 struct throws_on_move struct
359 explicit throws_on_move(int val = 0) : value(val) { ++count; } in value() argument
360 explicit throws_on_move(int, int val, int) : value(val) { ++count; } in throws_on_move() argument
361 throws_on_move(throws_on_move const & other) { in throws_on_move() argument
366 throws_on_move(throws_on_move &&) { in throws_on_move() argument
370 ~throws_on_move() { in ~throws_on_move() argument
374 throws_on_move& operator=(throws_on_move const&) = delete;
375 throws_on_move& operator=(throws_on_move &&) = delete; argument
378 int throws_on_move::count = 0;
379 int throws_on_move::copied = 0;
[all …]
/external/libcxx/test/std/experimental/any/any.class/any.cons/
Dmove.pass.cpp34 assert(throws_on_move::count == 0); in test_move_does_not_throw()
36 throws_on_move v(42); in test_move_does_not_throw()
38 assert(throws_on_move::count == 2); in test_move_does_not_throw()
44 assertContains<throws_on_move>(a2, 42); in test_move_does_not_throw()
48 assert(throws_on_move::count == 1); in test_move_does_not_throw()
51 assert(throws_on_move::count == 0); in test_move_does_not_throw()
Dvalue.pass.cpp59 assert(throws_on_move::count == 0); in test_move_value_throws()
61 throws_on_move v; in test_move_value_throws()
62 assert(throws_on_move::count == 1); in test_move_value_throws()
71 assert(throws_on_move::count == 1); in test_move_value_throws()
73 assert(throws_on_move::count == 0); in test_move_value_throws()
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Dmove.pass.cpp34 assert(throws_on_move::count == 0); in test_move_does_not_throw()
36 throws_on_move v(42); in test_move_does_not_throw()
38 assert(throws_on_move::count == 2); in test_move_does_not_throw()
44 assertContains<throws_on_move>(a2, 42); in test_move_does_not_throw()
48 assert(throws_on_move::count == 1); in test_move_does_not_throw()
51 assert(throws_on_move::count == 0); in test_move_does_not_throw()
Dvalue.pass.cpp59 assert(throws_on_move::count == 0); in test_move_value_throws()
61 throws_on_move v; in test_move_value_throws()
62 assert(throws_on_move::count == 1); in test_move_value_throws()
71 assert(throws_on_move::count == 1); in test_move_value_throws()
73 assert(throws_on_move::count == 0); in test_move_value_throws()
Din_place_type.pass.cpp188 test_in_place_type<throws_on_move>(); in main()
/external/libcxx/test/std/utilities/any/any.nonmembers/
Dmake_any.pass.cpp132 test_make_any_type<throws_on_move>(); in main()
/external/libcxx/test/std/experimental/any/any.class/any.assign/
Dvalue.pass.cpp176 test_assign_throws<throws_on_move, /* Move = */ true>(); in main()
/external/libcxx/test/std/utilities/any/any.class/any.assign/
Dvalue.pass.cpp207 test_assign_throws<throws_on_move, /* Move = */ true>(); in main()
/external/libcxx/test/std/utilities/any/any.class/any.modifiers/
Demplace.pass.cpp254 test_emplace_type<throws_on_move>(); in main()