This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50785] [C++0x] static constexpr double undefined reference


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50785

--- Comment #10 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2011-10-19 13:07:44 UTC ---
(In reply to comment #9)
> I disagree.  It is odr-used because the lvalue-to-rvalue conversions is not
> immediately applied.
> 
> In (1*test::value) the lvalue-to-rvalue conversion is immediately applied.

I tend to agree. My first impression was that the core language is unclear
here, but after some rethought I think the core language is clear and your
argumentation chain is convincing to me.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]