HomeSort by relevance Sort by last modified time
    Searched defs:MoveOnly (Results 1 - 18 of 18) sorted by null

  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p19.cpp 3 struct MoveOnly {
4 MoveOnly(MoveOnly&&);
5 MoveOnly(const MoveOnly&);
9 void test_special_member_functions(MoveOnly mo, int i) {
  /external/libcxx/test/std/utilities/function.objects/refwrap/
type_properties.pass.cpp 22 class MoveOnly
24 MoveOnly(const MoveOnly&);
25 MoveOnly& operator=(const MoveOnly&);
29 MoveOnly(int data = 1) : data_(data) {}
30 MoveOnly(MoveOnly&& x)
32 MoveOnly& operator=(MoveOnly&& x
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.rel/
is_convertible.pass.cpp 41 class MoveOnly {
42 MoveOnly(const MoveOnly &);
43 MoveOnly& operator =(const MoveOnly&);
45 MoveOnly(MoveOnly&& x);
197 // MoveOnly
198 static_assert(( std::is_convertible<MoveOnly, MoveOnly>::value), "")
    [all...]
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
UTypes.fail.cpp 27 class MoveOnly
29 MoveOnly(const MoveOnly&);
30 MoveOnly& operator=(const MoveOnly&);
34 explicit MoveOnly(int data = 1) : data_(data) {}
35 MoveOnly(MoveOnly&& x)
37 MoveOnly& operator=(MoveOnly&& x
    [all...]
  /external/libcxx/test/support/
MoveOnly.h 18 class MoveOnly
20 MoveOnly(const MoveOnly&);
21 MoveOnly& operator=(const MoveOnly&);
25 MoveOnly(int data = 1) : data_(data) {}
26 MoveOnly(MoveOnly&& x)
28 MoveOnly& operator=(MoveOnly&& x
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/
MoveOnly.h 18 class MoveOnly
20 MoveOnly(const MoveOnly&);
21 MoveOnly& operator=(const MoveOnly&);
25 MoveOnly(int data = 1) : data_(data) {}
26 MoveOnly(MoveOnly&& x)
28 MoveOnly& operator=(MoveOnly&& x
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/
MoveOnly.h 18 class MoveOnly
20 MoveOnly(const MoveOnly&);
21 MoveOnly& operator=(const MoveOnly&);
25 MoveOnly(int data = 1) : data_(data) {}
26 MoveOnly(MoveOnly&& x)
28 MoveOnly& operator=(MoveOnly&& x
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/
UTypes.fail.cpp 25 class MoveOnly
27 MoveOnly(const MoveOnly&);
28 MoveOnly& operator=(const MoveOnly&);
32 explicit MoveOnly(int data = 1) : data_(data) {}
33 MoveOnly(MoveOnly&& x)
35 MoveOnly& operator=(MoveOnly&& x
    [all...]
  /external/llvm/unittests/ADT/
OptionalTest.cpp 218 struct MoveOnly {
223 explicit MoveOnly(int val) : val(val) {
225 MoveOnly(MoveOnly&& other) {
229 MoveOnly &operator=(MoveOnly&& other) {
234 ~MoveOnly() {
244 unsigned MoveOnly::MoveConstructions = 0;
245 unsigned MoveOnly::Destructions = 0;
246 unsigned MoveOnly::MoveAssignments = 0
    [all...]
StringMapTest.cpp 264 struct MoveOnly {
266 MoveOnly(int i) : i(i) {}
267 MoveOnly(const Immovable&) : i(0) {}
268 MoveOnly(MoveOnly &&RHS) : i(RHS.i) {}
269 MoveOnly &operator=(MoveOnly &&RHS) {
275 MoveOnly(const MoveOnly &) = delete;
276 MoveOnly &operator=(const MoveOnly &) = delete
    [all...]
  /external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
F.pass.cpp 80 class MoveOnly
82 MoveOnly(const MoveOnly&);
84 MoveOnly() {}
85 MoveOnly(MoveOnly&&) {}
87 void operator()(MoveOnly&&)
150 std::thread t = std::thread(MoveOnly(), MoveOnly());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
F.pass.cpp 76 class MoveOnly
78 MoveOnly(const MoveOnly&);
80 MoveOnly() {}
81 MoveOnly(MoveOnly&&) {}
83 void operator()(MoveOnly&&)
146 std::thread t = std::thread(MoveOnly(), MoveOnly());
  /external/clang/test/SemaCXX/
rval-references.cpp 73 struct MoveOnly {
74 MoveOnly();
75 MoveOnly(const MoveOnly&) = delete; // expected-note {{candidate constructor}} \
77 MoveOnly(MoveOnly&&); // expected-note {{candidate constructor}}
78 MoveOnly(int&&); // expected-note {{candidate constructor}}
81 MoveOnly gmo;
82 MoveOnly returningNonEligible() {
84 static MoveOnly mo
    [all...]
  /external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
call_once.pass.cpp 136 class MoveOnly
141 MoveOnly(const MoveOnly&)
145 MoveOnly(const MoveOnly&);
148 MoveOnly() {}
149 MoveOnly(MoveOnly&&) {}
151 void operator()(MoveOnly&&)
234 std::call_once(f, MoveOnly(), MoveOnly())
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.once/thread.once.callonce/
call_once.pass.cpp 134 class MoveOnly
139 MoveOnly(const MoveOnly&)
143 MoveOnly(const MoveOnly&);
146 MoveOnly() {}
147 MoveOnly(MoveOnly&&) {}
149 void operator()(MoveOnly&&)
203 std::call_once(f, MoveOnly(), MoveOnly())
    [all...]
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
p3-0x.cpp 115 struct MoveOnly { // expected-note {{candidate}}
116 MoveOnly(MoveOnly&&); // expected-note 2{{copy constructor is implicitly deleted because}} expected-note {{candidate}}
119 void test(MoveOnly mo) {
121 MoveOnly (&&list2)[1] = {mo}; // expected-error {{call to implicitly-deleted copy constructor}} expected-note {{in initialization of temporary of type 'rdar13395022::MoveOnly [1]'}}
122 std::initializer_list<MoveOnly> &&list3 = {};
123 MoveOnly (&&list4)[1] = {}; // expected-error {{no matching constructor}}
125 // expected-note@-2 {{in initialization of temporary of type 'rdar13395022::MoveOnly [1]' created to list-initialize this reference}}
  /external/clang/test/CodeGenCXX/
microsoft-abi-structors.cpp 437 struct MoveOnly {
438 MoveOnly(MoveOnly &&o) = default;
439 virtual ~MoveOnly();
441 MoveOnly &&f();
442 void g() { new MoveOnly(f()); }
  /external/clang/test/CXX/special/class.copy/
implicit-move.cpp 231 struct MoveOnly {
232 MoveOnly(MoveOnly&&); // expected-note {{user-declared move}}
233 MoveOnly &operator=(MoveOnly&&);
236 template void test(MoveOnly); // ok, moves
239 MoveOnly mo; // expected-note {{deleted copy}}

Completed in 326 milliseconds