Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp79 static int move_assign_called; member
81 static void reset() { move_called = move_assign_called = swap_called = 0; } in reset()
97 ++move_assign_called; in operator =()
112 EnableSwap>::move_assign_called = 0; member in NothrowTypeImp<NT_Copy, NT_Move, NT_CopyAssign, NT_MoveAssign, NT_Swap, EnableSwap>
261 assert(T::move_assign_called == 2); in test_swap_same_alternative()
268 assert(T::move_assign_called == 2); in test_swap_same_alternative()
286 assert(T::move_assign_called == 0); in test_swap_same_alternative()
302 assert(T::move_assign_called == 0); in test_swap_same_alternative()
319 assert(T::move_assign_called == 1); // call threw and didn't complete in test_swap_same_alternative()
339 assert(T::move_assign_called == 0); in test_swap_different_alternatives()
[all …]