This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofTC1 status.
Section: 29.4.2[complex.syn], 29.4.7[complex.value.ops]Status:TC1Submitter: Nico JosuttisOpened: 1998-09-29Last modified: 2016-01-28
Priority:Not Prioritized
View all otherissues in [complex.syn].
View all issues withTC1 status.
Discussion:
In 29.4.2[complex.syn] polar is declared as follows:
template<class T> complex<T> polar(const T&, const T&);
In 29.4.7[complex.value.ops] it is declared as follows:
template<class T> complex<T> polar(const T& rho, const T& theta = 0);
Thus whether the second parameter is optional is not clear.
Proposed resolution:
In 29.4.2[complex.syn] change:
template<class T> complex<T> polar(const T&, const T&);
to:
template<class T> complex<T> polar(const T& rho, const T& theta = 0);