OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NonCopyable
(Results
1 - 14
of
14
) sorted by null
/external/clang/test/SemaCXX/
dllexport-pr22591.cpp
10
struct
NonCopyable
{
15
NonCopyable
();
19
// expected-error@+4{{field of type '
NonCopyable
' has private default constructor}}
24
NonCopyable
member;
/external/parameter-framework/upstream/utility/
NonCopyable.hpp
46
class
NonCopyable
49
NonCopyable
() = default;
50
NonCopyable
(const
NonCopyable
&) = delete;
51
NonCopyable
(
NonCopyable
&&) = delete;
52
NonCopyable
&operator=(const
NonCopyable
&) = delete;
53
NonCopyable
&operator=(
NonCopyable
&&) = delete
[
all
...]
/device/google/contexthub/util/nanotool/
noncopyable.h
22
class
NonCopyable
{
24
NonCopyable
() = default;
25
NonCopyable
(const
NonCopyable
&) = delete;
26
NonCopyable
& operator=(const
NonCopyable
&) = delete;
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p15.cpp
4
class
NonCopyable
{
5
NonCopyable
(const
NonCopyable
&);
8
void capture_by_ref(
NonCopyable
nc,
NonCopyable
&ncr) {
p15-star-this-capture.cpp
3
class
NonCopyable
{
4
NonCopyable
(const
NonCopyable
&) = delete; //expected-note3{{explicitly marked deleted here}}
p14.cpp
5
class
NonCopyable
{
6
NonCopyable
(const
NonCopyable
&); // expected-note 2 {{implicitly declared private here}}
16
void capture_by_copy(
NonCopyable
nc,
NonCopyable
&ncr, const NonConstCopy nco) {
17
(void)[nc] { }; // expected-error{{capture of variable 'nc' as type '
NonCopyable
' calls private copy constructor}}
19
ncr.foo(); // expected-error{{capture of variable 'ncr' as type '
NonCopyable
' calls private copy constructor}}
/system/chre/util/include/chre/util/
non_copyable.h
23
* Marks a class as
NonCopyable
by deleting the copy constructor and
26
class
NonCopyable
{
28
NonCopyable
() = default;
29
NonCopyable
(const
NonCopyable
&) = delete;
30
NonCopyable
& operator=(const
NonCopyable
&) = delete;
/external/libcxx/test/std/utilities/meta/meta.rel/
is_convertible.pass.cpp
55
class
NonCopyable
{
56
NonCopyable
(
NonCopyable
&);
242
//
NonCopyable
243
static_assert((std::is_convertible<
NonCopyable
&,
NonCopyable
&>::value), "");
244
static_assert((std::is_convertible<
NonCopyable
&, const
NonCopyable
&>::value), "");
245
static_assert((std::is_convertible<
NonCopyable
&, const volatile
NonCopyable
&>::value), "")
[
all
...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.invoke/
invoke.pass.cpp
46
struct
NonCopyable
{
47
NonCopyable
() {}
49
NonCopyable
(
NonCopyable
const&) = delete;
50
NonCopyable
& operator=(
NonCopyable
const&) = delete;
56
int& operator()(
NonCopyable
&&) & { return data; }
57
int const& operator()(
NonCopyable
&&) const & { return data; }
58
int volatile& operator()(
NonCopyable
&&) volatile & { return data; }
59
int const volatile& operator()(
NonCopyable
&&) const volatile & { return data;
[
all
...]
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
call_once.pass.cpp
160
class
NonCopyable
165
NonCopyable
(const
NonCopyable
&)
169
NonCopyable
(const
NonCopyable
&);
172
NonCopyable
() {}
246
std::call_once(f,
NonCopyable
(), i);
/external/libcxx/test/std/utilities/function.objects/func.invoke/
invoke.pass.cpp
46
struct
NonCopyable
{
47
NonCopyable
() {}
49
NonCopyable
(
NonCopyable
const&) = delete;
50
NonCopyable
& operator=(
NonCopyable
const&) = delete;
56
int& operator()(
NonCopyable
&&) & { return data; }
57
int const& operator()(
NonCopyable
&&) const & { return data; }
58
int volatile& operator()(
NonCopyable
&&) volatile & { return data; }
59
int const volatile& operator()(
NonCopyable
&&) const volatile & { return data;
[
all
...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
call_once.pass.cpp
157
class
NonCopyable
162
NonCopyable
(const
NonCopyable
&)
166
NonCopyable
(const
NonCopyable
&);
169
NonCopyable
() {}
241
std::call_once(f,
NonCopyable
(), i);
/external/llvm/unittests/ADT/
SmallVectorTest.cpp
143
struct
NonCopyable
{
144
NonCopyable
() {}
145
NonCopyable
(
NonCopyable
&&) {}
146
NonCopyable
&operator=(
NonCopyable
&&) { return *this; }
148
NonCopyable
(const
NonCopyable
&) = delete;
149
NonCopyable
&operator=(const
NonCopyable
&) = delete
[
all
...]
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
p5-0x.cpp
68
class
NonCopyable
{
69
NonCopyable
(const
NonCopyable
&);
72
class NonCopyableDerived : public
NonCopyable
{
78
NonCopyable
&&nc0 = prvalue<
NonCopyable
>();
79
NonCopyable
&&nc1 = prvalue<NonCopyableDerived>();
80
NonCopyable
&&nc2 = xvalue<
NonCopyable
>();
81
NonCopyable
&&nc3 = xvalue<NonCopyableDerived>()
[
all
...]
Completed in 400 milliseconds