Searched refs:move_only (Results 1 – 7 of 7) sorted by relevance
/external/libcxx/test/std/utilities/utility/forward/ |
D | move.fail.cpp | 17 struct move_only { struct 18 move_only() {} in move_only() function 19 move_only(move_only&&) = default; 20 move_only& operator=(move_only&&) = default; 23 move_only source() {return move_only();} in source() 24 const move_only csource() {return move_only();} in csource() 26 void test(move_only) {} in test() argument 30 move_only a; in main() 31 const move_only ca = move_only(); in main()
|
D | move.pass.cpp | 20 class move_only class 22 move_only(const move_only&); 23 move_only& operator=(const move_only&); 25 move_only(move_only&&) {} in move_only() argument 26 move_only& operator=(move_only&&) {return *this;} in operator =() argument 28 move_only() {} in move_only() function in move_only 31 move_only source() {return move_only();} in source() 32 const move_only csource() {return move_only();} in csource() 34 void test(move_only) {} in test() argument 102 move_only mo; in main()
|
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/ |
D | construct.pass.cpp | 39 class move_only class 41 move_only(const move_only&) = delete; 42 move_only& operator=(const move_only&)= delete; 45 move_only(move_only&&) {++move_only_constructed;} in move_only() argument 46 move_only& operator=(move_only&&) {return *this;} in operator =() argument 48 move_only() {++move_only_constructed;} in move_only() function in move_only 49 ~move_only() {--move_only_constructed;} in ~move_only() 108 std::allocator<move_only> a; in main() 113 move_only* ap = a.allocate(3); in main() 126 a.construct(ap, move_only()); in main()
|
/external/clang/test/PCH/ |
D | implicitly-deleted.cpp | 3 class move_only { move_only(const move_only&) = delete; move_only(move_only&&); }; class 5 move_only il;
|
/external/libmojo/gen/mojo/common/ |
D | common_custom_types__type_mappings | 9 "move_only": false, 25 "move_only": false, 40 "move_only": false, 55 "move_only": false, 70 "move_only": false, 85 "move_only": false, 100 "move_only": false,
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | struct_with_traits.typemap | 22 "mojo.test.PassByValueStructWithTraits=mojo::test::PassByValueStructWithTraitsImpl[move_only]", 23 "mojo.test.StructWithTraitsForUniquePtrTest=std::unique_ptr<int>[move_only]",
|
/external/libmojo/mojo/public/tools/bindings/ |
D | generate_type_mappings.py | 101 move_only = match_result.group(3) and match_result.group(3) == "move_only" 109 'move_only': move_only,
|