This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48945] [C++0x] static constexpr member function cannot be defined out-of class
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 21 May 2011 22:17:49 +0000
- Subject: [Bug c++/48945] [C++0x] static constexpr member function cannot be defined out-of class
- Auto-submitted: auto-generated
- References: <bug-48945-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48945
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-21 22:01:40 UTC ---
Author: jason
Date: Sat May 21 22:01:38 2011
New Revision: 174006
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174006
Log:
PR c++/48945
* decl.c (revert_static_member_fn): Ignore const on constexpr fn.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-static7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog