This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50785] [C++0x][constexpr] static constexpr double undefined reference
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Oct 2011 12:50:34 +0000
- Subject: [Bug c++/50785] [C++0x][constexpr] 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
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-19 12:50:34 UTC ---
I think the important message to vehicle to the users - correct me if I'm wrong
- is that constexpr isn't "miraculous" from this point of view, old-style
static and C++11 static constexpr data members both generally require out of
class definitions.