Home
last modified time | relevance | path

Searched refs:NonCopyable (Results 1 – 7 of 7) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp68 class NonCopyable { class
69 NonCopyable(const NonCopyable&);
72 class NonCopyableDerived : public NonCopyable {
78 NonCopyable &&nc0 = prvalue<NonCopyable>(); in test_direct_binding()
79 NonCopyable &&nc1 = prvalue<NonCopyableDerived>(); in test_direct_binding()
80 NonCopyable &&nc2 = xvalue<NonCopyable>(); in test_direct_binding()
81 NonCopyable &&nc3 = xvalue<NonCopyableDerived>(); in test_direct_binding()
82 const NonCopyable &nc4 = prvalue<NonCopyable>(); in test_direct_binding()
83 const NonCopyable &nc5 = prvalue<NonCopyableDerived>(); in test_direct_binding()
84 const NonCopyable &nc6 = xvalue<NonCopyable>(); in test_direct_binding()
[all …]
/external/libcxx/test/std/utilities/meta/meta.rel/
Dis_convertible.pass.cpp37 class NonCopyable { class
38 NonCopyable(NonCopyable&);
180 static_assert((std::is_convertible<NonCopyable&, NonCopyable&>::value), ""); in main()
181 static_assert((std::is_convertible<NonCopyable&, const NonCopyable&>::value), ""); in main()
182 static_assert((std::is_convertible<NonCopyable&, const volatile NonCopyable&>::value), ""); in main()
183 static_assert((std::is_convertible<NonCopyable&, volatile NonCopyable&>::value), ""); in main()
184 static_assert((std::is_convertible<const NonCopyable&, const NonCopyable&>::value), ""); in main()
185 … static_assert((std::is_convertible<const NonCopyable&, const volatile NonCopyable&>::value), ""); in main()
186 …static_assert((std::is_convertible<volatile NonCopyable&, const volatile NonCopyable&>::value), ""… in main()
187 …static_assert((std::is_convertible<const volatile NonCopyable&, const volatile NonCopyable&>::valu… in main()
[all …]
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp15.cpp4 class NonCopyable { class
5 NonCopyable(const NonCopyable&);
8 void capture_by_ref(NonCopyable nc, NonCopyable &ncr) { in capture_by_ref()
Dp14.cpp5 class NonCopyable { class
6 NonCopyable(const NonCopyable&); // expected-note 2 {{implicitly declared private here}}
16 void capture_by_copy(NonCopyable nc, NonCopyable &ncr, const NonConstCopy nco) { in capture_by_copy()
/external/clang/test/SemaCXX/
Ddllexport-pr22591.cpp10 struct NonCopyable { struct
15 NonCopyable();
24 NonCopyable member;
/external/llvm/unittests/ADT/
DSmallVectorTest.cpp143 struct NonCopyable { struct
144 NonCopyable() {} in NonCopyable() argument
145 NonCopyable(NonCopyable &&) {} in NonCopyable() function
146 NonCopyable &operator=(NonCopyable &&) { return *this; } in operator =() argument
148 NonCopyable(const NonCopyable &) = delete;
149 NonCopyable &operator=(const NonCopyable &) = delete;
153 SmallVector<NonCopyable, 0> V; in CompileTest()
/external/clang/docs/
DUsersManual.rst490 struct NonCopyable {
491 NonCopyable();
493 NonCopyable(const NonCopyable&);
495 void foo(const NonCopyable&);
497 foo(NonCopyable()); // Disallowed in C++98; allowed in C++11.