Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dcopy.pass.cpp112 struct NTCopyAssign { struct
113 constexpr NTCopyAssign(int v) : value(v) {} in NTCopyAssign() argument
114 NTCopyAssign(const NTCopyAssign &) = default;
115 NTCopyAssign(NTCopyAssign &&) = default;
116 NTCopyAssign &operator=(const NTCopyAssign &that) { in operator =() argument
120 NTCopyAssign &operator=(NTCopyAssign &&) = delete;
124 static_assert(!std::is_trivially_copy_assignable<NTCopyAssign>::value, ""); argument
125 static_assert(std::is_copy_assignable<NTCopyAssign>::value, "");
250 using V = std::variant<int, NTCopyAssign>; in test_copy_assignment_sfinae()