Home
last modified time | relevance | path

Searched defs:ThrowsOnCopy (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/libcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/
H A Dtypes.h129 struct ThrowsOnCopy { struct
131 constexpr explicit ThrowsOnCopy(int x) : value(x) { } in ThrowsOnCopy() argument
132 ThrowsOnCopy(ThrowsOnCopy const& other) { in ThrowsOnCopy() function
137 ThrowsOnCopy& operator=(ThrowsOnCopy const&) = delete; // prevent from being copyable argument
145 inline std::ranges::__copyable_box<ThrowsOnCopy> create_empty_box() { in create_empty_box() argument
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.not_fn/
H A Dnot_fn.pass.cpp241 struct ThrowsOnCopy { in throws_in_constructor_test() struct
242 ThrowsOnCopy(ThrowsOnCopy const&) { in throws_in_constructor_test() argument
246 bool operator()() const { in throws_in_constructor_test()