OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MoveOnly
(Results
1 - 9
of
9
) 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) {
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/
MoveOnly.h
9
class
MoveOnly
11
MoveOnly
(const
MoveOnly
&);
12
MoveOnly
& operator=(const
MoveOnly
&);
16
MoveOnly
(int data = 1) : data_(data) {}
17
MoveOnly
(
MoveOnly
&& x)
19
MoveOnly
& operator=(
MoveOnly
&& x
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/
MoveOnly.h
9
class
MoveOnly
11
MoveOnly
(const
MoveOnly
&);
12
MoveOnly
& operator=(const
MoveOnly
&);
16
MoveOnly
(int data = 1) : data_(data) {}
17
MoveOnly
(
MoveOnly
&& x)
19
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
173
struct
MoveOnly
{
178
explicit
MoveOnly
(int val) : val(val) {
180
MoveOnly
(
MoveOnly
&& other) {
184
MoveOnly
&operator=(
MoveOnly
&& other) {
189
~
MoveOnly
() {
199
unsigned
MoveOnly
::MoveConstructions = 0;
200
unsigned
MoveOnly
::Destructions = 0;
201
unsigned
MoveOnly
::MoveAssignments = 0
[
all
...]
/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
...]
/ndk/sources/cxx-stl/llvm-libc++/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}}
Completed in 464 milliseconds