This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50785] [C++0x] static constexpr double undefined reference
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Oct 2011 13:07:44 +0000
- Subject: [Bug c++/50785] [C++0x] static constexpr double undefined reference
- Auto-submitted: auto-generated
- References: <bug-50785-4@http.gcc.gnu.org/bugzilla/>
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.