D | swap.pass.cpp | 70 static int move_called; member 73 static void reset() { move_called = move_assign_called = swap_called = 0; } in reset() 80 ++move_called; in NothrowTypeImp() 100 EnableSwap>::move_called = 0; member in NothrowTypeImp<NT_Copy, NT_Move, NT_CopyAssign, NT_MoveAssign, NT_Swap, EnableSwap> 146 static int move_called; member 147 static void reset() { move_called = 0; } in reset() 152 ++move_called; in NonThrowingNonNoexceptType() 162 int NonThrowingNonNoexceptType::move_called = 0; member in NonThrowingNonNoexceptType 252 assert(T::move_called == 1); in test_swap_same_alternative() 259 assert(T::move_called == 1); in test_swap_same_alternative() [all …]
|