HomeSort by relevance Sort by last modified time
    Searched defs:MoveOnly (Results 1 - 11 of 11) 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/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...]
  /external/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...]
  /external/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 172 struct MoveOnly {
177 explicit MoveOnly(int val) : val(val) {
179 MoveOnly(MoveOnly&& other) {
183 MoveOnly &operator=(MoveOnly&& other) {
188 ~MoveOnly() {
198 unsigned MoveOnly::MoveConstructions = 0;
199 unsigned MoveOnly::Destructions = 0;
200 unsigned MoveOnly::MoveAssignments = 0
    [all...]
StringMapTest.cpp 259 struct MoveOnly {
261 MoveOnly(int i) : i(i) {}
262 MoveOnly(MoveOnly &&RHS) : i(RHS.i) {}
263 MoveOnly &operator=(MoveOnly &&RHS) {
269 MoveOnly(const MoveOnly &) LLVM_DELETED_FUNCTION;
270 MoveOnly &operator=(const MoveOnly &) LLVM_DELETED_FUNCTION
    [all...]
  /external/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/thread/thread.mutex/thread.once/thread.once.callonce/
call_once.pass.cpp 134 class MoveOnly
136 MoveOnly(const MoveOnly&);
138 MoveOnly() {}
139 MoveOnly(MoveOnly&&) {}
141 void operator()(MoveOnly&&)
195 std::call_once(f, MoveOnly(), MoveOnly());
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
p3-0x.cpp 115 struct MoveOnly {
116 MoveOnly(MoveOnly&&);
119 void test(MoveOnly mo) {
122 MoveOnly (&&list2)[1] = {mo}; // expected-error{{no viable conversion}}
123 std::initializer_list<MoveOnly> &&list3 = {};
124 MoveOnly (&&list4)[1] = {}; // expected-error{{uninitialized}}
  /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 240 milliseconds