Home
last modified time | relevance | path

Searched refs:move_only (Results 1 – 7 of 7) sorted by relevance

/external/libcxx/test/std/utilities/utility/forward/
Dmove_only2.fail.cpp18 class move_only class
21 move_only(const move_only&);
22 move_only& operator=(const move_only&);
24 move_only(move_only&);
25 move_only& operator=(move_only&);
31 move_only(move_only&&) {} in move_only() function in move_only
32 move_only& operator=(move_only&&) {} in operator =() argument
34 operator std::__rv<move_only> () {return std::__rv<move_only>(*this);}
35 move_only(std::__rv<move_only>) {}
38 move_only() {} in move_only() function in move_only
[all …]
Dmove_only4.fail.cpp18 class move_only class
21 move_only(const move_only&);
22 move_only& operator=(const move_only&);
24 move_only(move_only&);
25 move_only& operator=(move_only&);
31 move_only(move_only&&) {} in move_only() function in move_only
32 move_only& operator=(move_only&&) {} in operator =() argument
34 operator std::__rv<move_only> () {return std::__rv<move_only>(*this);}
35 move_only(std::__rv<move_only>) {}
38 move_only() {} in move_only() function in move_only
[all …]
Dmove_only1.fail.cpp18 class move_only class
21 move_only(const move_only&);
22 move_only& operator=(const move_only&);
24 move_only(move_only&);
25 move_only& operator=(move_only&);
31 move_only(move_only&&) {} in move_only() function in move_only
32 move_only& operator=(move_only&&) {} in operator =() argument
34 operator std::__rv<move_only> () {return std::__rv<move_only>(*this);}
35 move_only(std::__rv<move_only>) {}
38 move_only() {} in move_only() function in move_only
[all …]
Dmove_only3.fail.cpp15 class move_only class
18 move_only(const move_only&);
19 move_only& operator=(const move_only&);
21 move_only(move_only&);
22 move_only& operator=(move_only&);
28 move_only(move_only&&) {} in move_only() function in move_only
29 move_only& operator=(move_only&&) {} in operator =() argument
31 operator std::__rv<move_only> () {return std::__rv<move_only>(*this);}
32 move_only(std::__rv<move_only>) {}
35 move_only() {} in move_only() function in move_only
[all …]
Dmove_only.pass.cpp17 class move_only class
19 move_only(const move_only&);
20 move_only& operator=(const move_only&);
22 move_only(move_only&&) {} in move_only() function in move_only
23 move_only& operator=(move_only&&) {return *this;} in operator =() argument
25 move_only() {} in move_only() function in move_only
28 move_only source() {return move_only();} in source()
29 const move_only csource() {return move_only();} in csource()
31 void test(move_only) {} in test() argument
35 move_only mo; in main()
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Dconstruct.pass.cpp39 class move_only class
43 move_only(const move_only&) = delete;
44 move_only& operator=(const move_only&)= delete;
47 move_only(move_only&&) {++move_only_constructed;} in move_only() argument
48 move_only& operator=(move_only&&) {return *this;} in operator =() argument
50 move_only() {++move_only_constructed;} in move_only() function in move_only
51 ~move_only() {--move_only_constructed;} in ~move_only()
106 std::allocator<move_only> a; in main()
111 move_only* ap = a.allocate(3); in main()
124 a.construct(ap, move_only()); in main()
/external/clang/test/PCH/
Dimplicitly-deleted.cpp3 class move_only { move_only(const move_only&) = delete; move_only(move_only&&); }; class
5 move_only il;