Home
last modified time | relevance | path

Searched refs:copy_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.cpp37 assert(C::copy_assigned == 1); in main()
51 assert(C::copy_assigned == 0); in main()
65 assert(C::copy_assigned == 2); in main()
79 assert(C::copy_assigned == 2); in main()
93 assert(C::copy_assigned == 0); 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
266 *state_ = state_t::copy_assigned; in test()
294 assert(state[1] == state_t::copy_assigned); in test()
/llvm-project-15.0.7/libcxx/test/support/
H A Darchetypes.h47 static int copy_assigned; member
60 assigned = value_assigned = copy_assigned = move_assigned = destroyed = 0; in reset_constructors()
114 ++assigned; ++copy_assigned;
137 template <class D, bool E> int TestBase<D, E>::copy_assigned = 0;
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/
H A Dassign_const_pair_U_V.pass.cpp61 assert(C::copy_assigned == 1); in test()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.specalg/
H A Dswap.pass.cpp108 assert(T::assigned == T::copy_assigned); in test_swap_sfinae()