tmp/tmpn_knpjkc/{from.md → to.md}
RENAMED
|
@@ -5,12 +5,12 @@ namespace std {
|
|
| 5 |
template<class T> class complex {
|
| 6 |
public:
|
| 7 |
using value_type = T;
|
| 8 |
|
| 9 |
constexpr complex(const T& re = T(), const T& im = T());
|
| 10 |
-
constexpr complex(const complex&);
|
| 11 |
-
template<class X> constexpr complex(const complex<X>&);
|
| 12 |
|
| 13 |
constexpr T real() const;
|
| 14 |
constexpr void real(T);
|
| 15 |
constexpr T imag() const;
|
| 16 |
constexpr void imag(T);
|
|
|
|
| 5 |
template<class T> class complex {
|
| 6 |
public:
|
| 7 |
using value_type = T;
|
| 8 |
|
| 9 |
constexpr complex(const T& re = T(), const T& im = T());
|
| 10 |
+
constexpr complex(const complex&) = default;
|
| 11 |
+
template<class X> constexpr explicit(see below) complex(const complex<X>&);
|
| 12 |
|
| 13 |
constexpr T real() const;
|
| 14 |
constexpr void real(T);
|
| 15 |
constexpr T imag() const;
|
| 16 |
constexpr void imag(T);
|