tmp/tmpd7_9earj/{from.md → to.md}
RENAMED
|
@@ -52,25 +52,25 @@ template<class T> complex<T> operator/(const T& lhs, const complex<T>& rhs);
|
|
| 52 |
|
| 53 |
*Returns:* `complex<T>(lhs) /= rhs`.
|
| 54 |
|
| 55 |
``` cpp
|
| 56 |
template<class T>
|
| 57 |
-
bool operator==(const complex<T>& lhs, const complex<T>& rhs);
|
| 58 |
-
template<class T> bool operator==(const complex<T>& lhs, const T& rhs);
|
| 59 |
-
template<class T> bool operator==(const T& lhs, const complex<T>& rhs);
|
| 60 |
```
|
| 61 |
|
| 62 |
*Returns:* `lhs.real() == rhs.real() && lhs.imag() == rhs.imag()`.
|
| 63 |
|
| 64 |
*Remarks:* The imaginary part is assumed to be `T()`, or 0.0, for the
|
| 65 |
`T` arguments.
|
| 66 |
|
| 67 |
``` cpp
|
| 68 |
template<class T>
|
| 69 |
-
bool operator!=(const complex<T>& lhs, const complex<T>& rhs);
|
| 70 |
-
template<class T> bool operator!=(const complex<T>& lhs, const T& rhs);
|
| 71 |
-
template<class T> bool operator!=(const T& lhs, const complex<T>& rhs);
|
| 72 |
```
|
| 73 |
|
| 74 |
*Returns:* `rhs.real() != lhs.real() || rhs.imag() != lhs.imag()`.
|
| 75 |
|
| 76 |
``` cpp
|
|
|
|
| 52 |
|
| 53 |
*Returns:* `complex<T>(lhs) /= rhs`.
|
| 54 |
|
| 55 |
``` cpp
|
| 56 |
template<class T>
|
| 57 |
+
constexpr bool operator==(const complex<T>& lhs, const complex<T>& rhs);
|
| 58 |
+
template<class T> constexpr bool operator==(const complex<T>& lhs, const T& rhs);
|
| 59 |
+
template<class T> constexpr bool operator==(const T& lhs, const complex<T>& rhs);
|
| 60 |
```
|
| 61 |
|
| 62 |
*Returns:* `lhs.real() == rhs.real() && lhs.imag() == rhs.imag()`.
|
| 63 |
|
| 64 |
*Remarks:* The imaginary part is assumed to be `T()`, or 0.0, for the
|
| 65 |
`T` arguments.
|
| 66 |
|
| 67 |
``` cpp
|
| 68 |
template<class T>
|
| 69 |
+
constexpr bool operator!=(const complex<T>& lhs, const complex<T>& rhs);
|
| 70 |
+
template<class T> constexpr bool operator!=(const complex<T>& lhs, const T& rhs);
|
| 71 |
+
template<class T> constexpr bool operator!=(const T& lhs, const complex<T>& rhs);
|
| 72 |
```
|
| 73 |
|
| 74 |
*Returns:* `rhs.real() != lhs.real() || rhs.imag() != lhs.imag()`.
|
| 75 |
|
| 76 |
``` cpp
|