Searched refs:NotNoexceptCopy (Results 1 – 1 of 1) sorted by relevance
25 struct NotNoexceptCopy { struct29 constexpr explicit NotNoexceptCopy(int value = 0) : value_(value) {} in NotNoexceptCopy() argument30 NotNoexceptCopy(const NotNoexceptCopy&) noexcept(false) = default;32 bool operator==(const NotNoexceptCopy&) const = default;34 friend constexpr NotNoexceptCopy& operator+=(NotNoexceptCopy &lhs, const NotNoexceptCopy& rhs) { in operator +=()37 friend constexpr NotNoexceptCopy& operator-=(NotNoexceptCopy &lhs, const NotNoexceptCopy& rhs) { in operator -=()41 friend constexpr NotNoexceptCopy operator+(NotNoexceptCopy lhs, NotNoexceptCopy rhs) { in operator +()42 return NotNoexceptCopy{lhs.value_ + rhs.value_}; in operator +()44 friend constexpr int operator-(NotNoexceptCopy lhs, NotNoexceptCopy rhs) { in operator -()60 static_assert(noexcept(*iter) == !std::same_as<T, NotNoexceptCopy>); in testType() argument[all …]