Created on 2017-02-03.00:00:00 last changed 46 months ago
Proposed resolution:
This wording is relative to N4659.
Modify [complex.syn], header <complex> synopsis, as indicated:
template<class T> complex<T> polar(const T&, const T& =0T());
Modify [complex.value.ops] as indicated:
template<class T> complex<T> polar(const T& rho, const T& theta =0T());
[ 2017-06-27 Moved to Tentatively Ready after 7 positive votes on c++std-lib. ]
[ 2017-02 pre-Kona ]
(twice)
Addresses JP 25
Parameter theta of polar has the type of the template parameter. Therefore, it needs to change the default initial value to T(). The change of the declaration of this function in [complex.syn] is accompanied by this change.
Proposed change:
template<class T> complex<T> polar(const T& rho, const T& theta =0T());
History | |||
---|---|---|---|
Date | User | Action | Args |
2021-02-25 10:48:01 | admin | set | status: wp -> c++20 |
2017-11-13 19:01:36 | admin | set | status: voting -> wp |
2017-10-17 18:34:55 | admin | set | status: ready -> voting |
2017-06-27 20:22:35 | admin | set | messages: + msg9302 |
2017-06-27 20:22:35 | admin | set | status: new -> ready |
2017-02-03 20:10:49 | admin | set | messages: + msg8857 |
2017-02-03 20:10:49 | admin | set | messages: + msg8856 |
2017-02-03 00:00:00 | admin | create |