Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/
H A Dalloc_copy.pass.cpp38 assert(P.move_constructed == 0); in main()
46 assert(P.move_constructed == 0); in main()
54 assert(P.move_constructed == 0); in main()
H A Dalloc_move.pass.cpp38 assert(P.move_constructed == 1); in main()
45 assert(P.move_constructed == 1); in main()
/llvm-project-15.0.7/libcxx/test/support/
H A Dcontrolled_allocators.h60 int move_constructed = 0; member
241 P->move_constructed += 1; in CountingAllocator()
251 P->move_constructed += 1; in CountingAllocator()
307 P->move_constructed += 1; in CountingAllocator()
317 P->move_constructed += 1; in CountingAllocator()
358 P->move_constructed += 1; in MinAlignedAllocator()
368 P->move_constructed += 1; in MinAlignedAllocator()
461 P->move_constructed += 1; in NullAllocator()
471 P->move_constructed += 1; in NullAllocator()
H A Darchetypes.h44 static int move_constructed; member
59 copy_constructed = move_constructed = 0; in reset_constructors()
109 ++alive; ++constructed; ++move_constructed; in TestBase()
134 template <class D, bool E> int TestBase<D, E>::move_constructed = 0;
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Drvalue_T.pass.cpp73 assert(T::move_constructed == 1); in main()
83 assert(T::move_constructed == 1); in main()
94 assert(T::move_constructed == 0); in main()
H A Dmove.pass.cpp178 assert(T::move_constructed == 0); in main()
184 assert(T::move_constructed == 1); in main()
H A DU.pass.cpp133 assert(T::move_constructed == 0); in test_explicit()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
H A Dassign_value.pass.cpp118 assert(T::move_constructed == 1); in test_with_test_type()
144 assert(T::move_constructed == 1); in test_with_test_type()