Searched defs:CopyAssign (Results 1 – 4 of 4) sorted by relevance
5 template<typename T> struct CopyAssign { struct19 template<typename T> struct MoveOrCopyAssign { argument66 template struct CopyAssign<A1>; // expected-note {{here}} variable86 template struct CopyAssign<B1>; // expected-note {{here}} variable88 template struct CopyAssign<B2>; // expected-note {{here}} variable90 template struct CopyAssign<B3>; variable97 template struct CopyAssign<C1>; // expected-note {{here}} variable128 template struct CopyAssign<D1>; // expected-note {{here}} variable131 template struct CopyAssign<D3>; // expected-note {{here}} variable134 template struct CopyAssign<D5>; // expected-note {{here}} variable[all …]
14 struct CopyAssign { struct17 constexpr CopyAssign() = default; argument18 constexpr CopyAssign(int v) : val(v) {} in CopyAssign() function20 constexpr CopyAssign& operator=(const CopyAssign&) = default; argument22 constexpr const CopyAssign& operator=(const CopyAssign&) const = delete; argument23 constexpr CopyAssign& operator=(CopyAssign&&) = delete; argument24 constexpr const CopyAssign& operator=(CopyAssign&&) const = delete; argument
51 struct CopyAssign { struct60 CopyAssign(int v) : value(v) { ++alive; } in CopyAssign() argument61 CopyAssign(const CopyAssign &o) : value(o.value) { in CopyAssign() function65 CopyAssign(CopyAssign &&o) noexcept : value(o.value) { in CopyAssign() argument70 CopyAssign &operator=(const CopyAssign &o) { in operator =() argument75 CopyAssign &operator=(CopyAssign &&o) noexcept { in operator =() argument81 ~CopyAssign() { --alive; } in ~CopyAssign() argument85 int CopyAssign::alive = 0; argument
30 class CopyAssign { // expected-note 2 {{because no assignment operator can be used to copy an objec… class