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++/54002] [C++0x][constexpr] Initializing constexpr static member using constexpr static method fails


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?


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