D | swap.pass.cpp | 78 static int move_called; member 81 static void reset() { move_called = move_assign_called = swap_called = 0; } in reset() 88 ++move_called; in NothrowTypeImp() 108 EnableSwap>::move_called = 0; member in NothrowTypeImp<NT_Copy, NT_Move, NT_CopyAssign, NT_MoveAssign, NT_Swap, EnableSwap> 154 static int move_called; member 155 static void reset() { move_called = 0; } in reset() 160 ++move_called; in NonThrowingNonNoexceptType() 170 int NonThrowingNonNoexceptType::move_called = 0; member in NonThrowingNonNoexceptType 260 assert(T::move_called == 1); in test_swap_same_alternative() 267 assert(T::move_called == 1); in test_swap_same_alternative() [all …]
|