Home
last modified time | relevance | path

Searched refs:copy_constructed (Results 1 – 9 of 9) 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.cpp37 assert(P.copy_constructed == 1); in main()
45 assert(P.copy_constructed == 1); in main()
53 assert(P.copy_constructed == 1); in main()
H A Dalloc_move.pass.cpp37 assert(P.copy_constructed == 0); in main()
44 assert(P.copy_constructed == 0); in main()
/llvm-project-15.0.7/libcxx/test/support/
H A Dcontrolled_allocators.h59 int copy_constructed = 0; member
237 P->copy_constructed += 1; in CountingAllocator()
246 P->copy_constructed += 1; in CountingAllocator()
303 P->copy_constructed += 1; in CountingAllocator()
312 P->copy_constructed += 1; in CountingAllocator()
354 P->copy_constructed += 1; in MinAlignedAllocator()
363 P->copy_constructed += 1; in MinAlignedAllocator()
457 P->copy_constructed += 1; in NullAllocator()
466 P->copy_constructed += 1; in NullAllocator()
H A Darchetypes.h43 static int copy_constructed; member
59 copy_constructed = move_constructed = 0; in reset_constructors()
105 ++alive; ++constructed; ++copy_constructed; in TestBase()
133 template <class D, bool E> int TestBase<D, E>::copy_constructed = 0;
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Dconst_T.pass.cpp68 assert(T::copy_constructed == 1); in main()
79 assert(T::copy_constructed == 1); in main()
H A Dcopy.pass.cpp144 assert(T::copy_constructed == 0); in main()
147 assert(T::copy_constructed == 1); in main()
H A Drvalue_T.pass.cpp93 assert(T::copy_constructed == 0); in main()
H A DU.pass.cpp134 assert(T::copy_constructed == 0); in test_explicit()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.specalg/
H A Dswap.pass.cpp105 assert(T::copy_constructed == 1); in test_swap_sfinae()
106 assert(T::constructed == T::copy_constructed); in test_swap_sfinae()