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.fail.cpp17 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()
Dmove.pass.cpp20 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/
Dconstruct.pass.cpp39 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/
Dimplicitly-deleted.cpp3 class move_only { move_only(const move_only&) = delete; move_only(move_only&&); }; class
5 move_only il;
/external/libmojo/gen/mojo/common/
Dcommon_custom_types__type_mappings9 "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/
Dstruct_with_traits.typemap22 "mojo.test.PassByValueStructWithTraits=mojo::test::PassByValueStructWithTraitsImpl[move_only]",
23 "mojo.test.StructWithTraitsForUniquePtrTest=std::unique_ptr<int>[move_only]",
/external/libmojo/mojo/public/tools/bindings/
Dgenerate_type_mappings.py101 move_only = match_result.group(3) and match_result.group(3) == "move_only"
109 'move_only': move_only,