http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48760
Gabriel Dos Reis <gdr at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gdr at gcc dot gnu.org --- Comment #8 from Gabriel Dos Reis <gdr at gcc dot gnu.org> 2011-04-25 17:57:15 UTC --- (In reply to comment #1) > I don't think this is a library proper issue, how can it be? We have just: > > constexpr // In C++0x mode > complex(float __r = 0.0f, float __i = 0.0f) > : _M_value(__r + __i * 1.0fi) { } I believe we need a compiler support to construct a complex value from its independent components -- instead of the low-level C-style assignments that we are currently forced to do (or use multiplication.) I think that is the way to go. -- Gaby