From Jason Turner

[complex]

Diff to HTML by rtfpessoa

tmp/tmprq1mjlyb/{from.md → to.md} RENAMED
@@ -5,17 +5,17 @@ namespace std {
5
  template<class T>
6
  class complex {
7
  public:
8
  typedef T value_type;
9
 
10
- complex(const T& re = T(), const T& im = T());
11
- complex(const complex&);
12
- template<class X> complex(const complex<X>&);
13
 
14
- T real() const;
15
  void real(T);
16
- T imag() const;
17
  void imag(T);
18
 
19
  complex<T>& operator= (const T&);
20
  complex<T>& operator+=(const T&);
21
  complex<T>& operator-=(const T&);
 
5
  template<class T>
6
  class complex {
7
  public:
8
  typedef T value_type;
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
 
14
+ constexpr T real() const;
15
  void real(T);
16
+ constexpr T imag() const;
17
  void imag(T);
18
 
19
  complex<T>& operator= (const T&);
20
  complex<T>& operator+=(const T&);
21
  complex<T>& operator-=(const T&);