Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/
H A Dassign_tuple_like.pass.cpp38 assert(C::move_assigned == 0); in main()
52 assert(C::move_assigned == 1); in main()
66 assert(C::move_assigned == 0); in main()
80 assert(C::move_assigned == 0); in main()
94 assert(C::move_assigned == 2); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
H A Doptional_U.pass.cpp241 enum class state_t { inactive, constructed, copy_assigned, move_assigned }; in test() enumerator
257 *state_ = state_t::move_assigned; in test()
282 assert(state[1] == state_t::move_assigned); in test()
H A Dassign_value.pass.cpp132 assert(T::move_assigned == 1); in test_with_test_type()
/llvm-project-15.0.7/libcxx/test/support/
H A Darchetypes.h48 static int move_assigned; member
60 assigned = value_assigned = copy_assigned = move_assigned = destroyed = 0; in reset_constructors()
120 ++assigned; ++move_assigned;
138 template <class D, bool E> int TestBase<D, E>::move_assigned = 0;
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/
H A Dassign_const_pair_U_V.pass.cpp62 assert(C::move_assigned == 0); in test()