Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/ranges/range.factories/range.iota.view/iterator/
H A Dstar.pass.cpp25 struct NotNoexceptCopy { struct
29 constexpr explicit NotNoexceptCopy(int value = 0) : value_(value) {} in NotNoexceptCopy() function
30 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 …]