OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NonCopyable
(Results
1 - 4
of
4
) sorted by null
/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) {
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}}
/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
...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.rel/
is_convertible.pass.cpp
37
class
NonCopyable
{
38
NonCopyable
(
NonCopyable
&);
179
//
NonCopyable
180
static_assert((std::is_convertible<
NonCopyable
&,
NonCopyable
&>::value), "");
181
static_assert((std::is_convertible<
NonCopyable
&, const
NonCopyable
&>::value), "");
182
static_assert((std::is_convertible<
NonCopyable
&, const volatile
NonCopyable
&>::value), "")
[
all
...]
Completed in 886 milliseconds