tmp/tmp_g_hw77f/{from.md → to.md}
RENAMED
|
@@ -3,11 +3,11 @@
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<class T>
|
| 6 |
class complex {
|
| 7 |
public:
|
| 8 |
-
|
| 9 |
|
| 10 |
constexpr complex(const T& re = T(), const T& im = T());
|
| 11 |
constexpr complex(const complex&);
|
| 12 |
template<class X> constexpr complex(const complex<X>&);
|
| 13 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<class T>
|
| 6 |
class complex {
|
| 7 |
public:
|
| 8 |
+
using value_type = T;
|
| 9 |
|
| 10 |
constexpr complex(const T& re = T(), const T& im = T());
|
| 11 |
constexpr complex(const complex&);
|
| 12 |
template<class X> constexpr complex(const complex<X>&);
|
| 13 |
|