This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54002] [C++0x][constexpr] Initializing constexpr static member using constexpr static method fails
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jul 2012 20:04:59 +0000
- Subject: [Bug c++/54002] [C++0x][constexpr] Initializing constexpr static member using constexpr static method fails
- Auto-submitted: auto-generated
- References: <bug-54002-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54002
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-17 20:04:59 UTC ---
N.B. 4.5 doesn't implement constexpr (it parses the keyword and pretty much
ignores it) so that error is irrelevant
I think this might be because C1::foo can't be used in a constant expression
until C1 is complete. Jason?