Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dassign_pair.pass.cpp27 struct CopyAssignable { struct
28 CopyAssignable() = default;
29 CopyAssignable(CopyAssignable const&) = default;
30 CopyAssignable& operator=(CopyAssignable const&) = default;
31 CopyAssignable& operator=(CopyAssignable&&) = delete;
56 typedef std::pair<CopyAssignable, short> P; in main()
57 const P p1(CopyAssignable(), 4); in main()
80 using P = std::pair<CountAssign, CopyAssignable>; in main()
Dassign_rv_pair.pass.cpp27 struct CopyAssignable { struct
28 CopyAssignable() = default;
29 CopyAssignable& operator=(CopyAssignable const&) = default;
30 CopyAssignable& operator=(CopyAssignable&&) = delete;
78 using P = std::pair<CountAssign, CopyAssignable>; in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
Dcopy.pass.cpp29 struct CopyAssignable { struct
30 CopyAssignable& operator=(CopyAssignable const&) = default;
31 CopyAssignable& operator=(CopyAssignable &&) = delete;
33 static_assert(std::is_copy_assignable<CopyAssignable>::value, "");
97 using T = std::tuple<int, CopyAssignable>; in main()
Dmove.pass.cpp29 struct CopyAssignable { struct
30 CopyAssignable& operator=(CopyAssignable const&) = default;
31 CopyAssignable& operator=(CopyAssignable&&) = delete;
33 static_assert(std::is_copy_assignable<CopyAssignable>::value, "");
118 using T = std::tuple<CountAssign, CopyAssignable>; in main()
/external/libcxx/test/support/
Darchetypes.ipp112 struct CopyAssignable : DEFINE_BASE(CopyAssignable) {
113 using Base = DEFINE_BASE(CopyAssignable);
115 DEFINE_EXPLICIT DEFINE_CONSTEXPR CopyAssignable() DEFINE_NOEXCEPT = delete;
116 CopyAssignable& operator=(CopyAssignable const&) DEFINE_NOEXCEPT DEFINE_ASSIGN;
117 DEFINE_DTOR(CopyAssignable)
163 CopyAssignable,
/external/perfetto/include/perfetto/base/
Doptional.h303 struct CopyAssignable {};
306 struct CopyAssignable<false> {
307 constexpr CopyAssignable() = default;
308 constexpr CopyAssignable(const CopyAssignable&) = default;
309 constexpr CopyAssignable(CopyAssignable&&) = default;
310 CopyAssignable& operator=(const CopyAssignable&) = delete;
311 CopyAssignable& operator=(CopyAssignable&&) = default;
418 public internal::CopyAssignable<std::is_copy_constructible<T>::value &&
/external/libchrome/base/
Doptional.h324 struct CopyAssignable {};
327 struct CopyAssignable<false> {
328 constexpr CopyAssignable() = default;
329 constexpr CopyAssignable(const CopyAssignable&) = default;
330 constexpr CopyAssignable(CopyAssignable&&) = default;
331 CopyAssignable& operator=(const CopyAssignable&) = delete;
332 CopyAssignable& operator=(CopyAssignable&&) = default;
433 public internal::CopyAssignable<std::is_copy_constructible<T>::value &&