Home
last modified time | relevance | path

Searched defs:move_only (Results 1 – 5 of 5) sorted by relevance

/llvm-project/libcxx/test/std/utilities/utility/forward/
H A Dmove.verify.cpp20 struct move_only { struct
21 move_only() {} in move_only() argument
29 void test(move_only) {} in test() argument
H A Dmove.pass.cpp17 class move_only class
22 move_only(move_only&&) {} in move_only() argument
23 move_only& operator=(move_only&&) {return *this;} in operator =() argument
25 move_only() {} in move_only() function in move_only
31 void test(move_only) {} in test() argument
/llvm-project/libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/
H A Dconstruct.cxx20.verify.cpp37 class move_only { class
42 move_only(move_only&&) { ++move_only_constructed; } in move_only() argument
43 move_only& operator=(move_only&&) { return *this; } in operator =() argument
45 move_only() { ++move_only_constructed; } in move_only() function in move_only
H A Dconstruct.cxx20.pass.cpp42 class move_only { class
47 move_only(move_only&&) { ++move_only_constructed; } in move_only() function in move_only
48 move_only& operator=(move_only&&) { return *this; } in operator =() argument
50 move_only() { ++move_only_constructed; } in move_only() function in move_only
/llvm-project/clang/test/PCH/
H A Dimplicitly-deleted.cpp7 class move_only { move_only(const move_only&) = delete; move_only(move_only&&); }; class