HomeSort by relevance Sort by last modified time
    Searched refs:NoCopy (Results 1 - 13 of 13) sorted by null

  /external/clang/test/CXX/dcl.decl/dcl.init/
p14-0x.cpp 10 struct NoCopy {
11 NoCopy();
12 NoCopy(const NoCopy &) = delete; // expected-note {{here}}
34 NoCopy nc = NoCopy(); // expected-error {{call to deleted}}
  /external/libcxx/test/std/utilities/any/any.class/any.cons/
value.pass.cpp 144 struct NoCopy {
145 NoCopy() = default;
146 NoCopy(NoCopy const&) = delete;
147 NoCopy(int) {}
149 static_assert(!std::is_constructible<std::any, NoCopy>::value, "");
150 static_assert(!std::is_constructible<std::any, NoCopy&>::value, "");
151 static_assert(!std::is_convertible<NoCopy, std::any>::value, "");
in_place_type.pass.cpp 156 struct NoCopy {
157 NoCopy() = default;
158 NoCopy(NoCopy const&) = delete;
159 NoCopy(int) {}
160 NoCopy(std::initializer_list<int>, int) {}
162 using Tag = std::in_place_type_t<NoCopy>;
163 using RefTag = std::in_place_type_t<NoCopy&>;
  /external/libchrome/base/
template_util_unittest.cc 95 class NoCopy {
97 NoCopy(const NoCopy&) = delete;
101 !base::is_trivially_copy_constructible<std::vector<NoCopy>>::value,
  /external/libcxx/test/std/utilities/any/any.class/any.modifiers/
emplace.pass.cpp 260 struct NoCopy {
261 NoCopy() = default;
262 NoCopy(NoCopy const&) = delete;
263 NoCopy(int) {}
264 NoCopy(std::initializer_list<int>, int, int) {}
266 static_assert(!has_emplace<NoCopy>(), "");
267 static_assert(!has_emplace<NoCopy, int>(), "");
268 static_assert(!has_emplace_init_list<NoCopy, int, int, int>(), "");
269 static_assert(!has_emplace<NoCopy&>(), "")
    [all...]
  /external/libcxx/test/std/utilities/any/any.class/any.assign/
value.pass.cpp 196 struct NoCopy {
197 NoCopy() = default;
198 NoCopy(NoCopy const&) = delete;
199 NoCopy(NoCopy&&) = default;
201 static_assert(!std::is_assignable<std::any, NoCopy>::value, "");
202 static_assert(!std::is_assignable<std::any, NoCopy&>::value, "");
  /external/libcxx/test/std/utilities/any/any.nonmembers/any.cast/
any_cast_pointer.pass.cpp 150 // we still need to support any_cast<NoCopy>(ptr)
151 struct NoCopy { NoCopy(NoCopy const&) = delete; };
154 assert(std::any_cast<NoCopy>(&a) == nullptr);
155 assert(std::any_cast<NoCopy>(&ca) == nullptr);
  /external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/
p1.cpp 186 struct NoCopy {
187 NoCopy();
188 NoCopy(const NoCopy &) = delete;
192 for (int n : NoCopy()) { // ok
  /external/clang/test/SemaCXX/
lambda-expressions.cpp 353 struct NoCopy {
354 NoCopy(int);
355 NoCopy(const NoCopy &) = delete; // expected-note {{deleted}}
358 template void f<NoCopy>(); // expected-note {{instantiation}}
  /external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
copy.pass.cpp 41 struct NoCopy {
42 NoCopy(const NoCopy &) = delete;
117 using V = std::variant<int, NoCopy>;
move.pass.cpp 39 struct NoCopy {
40 NoCopy(const NoCopy &) = delete;
146 using V = std::variant<int, NoCopy>;
  /external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
copy.pass.cpp 38 struct NoCopy {
39 NoCopy(const NoCopy &) = delete;
40 NoCopy &operator=(const NoCopy &) = default;
231 using V = std::variant<int, NoCopy>;
move.pass.cpp 41 struct NoCopy {
42 NoCopy(const NoCopy &) = delete;
43 NoCopy &operator=(const NoCopy &) = default;
191 using V = std::variant<int, NoCopy>;

Completed in 591 milliseconds