This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55931] [C++11] Constexpr member function inside a static member is not working
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Jan 2013 05:18:11 +0000
- Subject: [Bug c++/55931] [C++11] Constexpr member function inside a static member is not working
- Auto-submitted: auto-generated
- References: <bug-55931-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55931
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-10 05:18:11 UTC ---
> std::integral_constant<int, x.get()> i; // This is not working
Most likely because Test<int> is not complete at the time of parsing.