[Bug libstdc++/61791] [C++11] [constexpr] Additional overloads of std::real should be a constexpr function
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 25 10:55:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61791
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2015-04-09 00:00:00 |2017-1-25
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Same problem with std::imag(T)
#include <complex>
constexpr auto r = std::real(0.0);
constexpr auto i = std::imag(0.0);
More information about the Gcc-bugs
mailing list