This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++0X constexpr implementation status
- From: Jason Merrill <jason at redhat dot com>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>, Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Mon, 26 Jan 2009 13:17:21 -0500
- Subject: Re: C++0X constexpr implementation status
- References: <4948A15C.30104@verizon.net>
Ed Smith-Rowland wrote:
In my efforts to build C++-0X library components I've noticed that
constexpr member variables are used in several places. I was unable to
implement these as intended and reverted to const accessors.
It seems like the intent is sort of a static const function except that
it binds to a specific instance.
I looked around and it looked like some effort had taken place to
implement constexpr in the front end. I was wondering where this effort
left off? Will it be picked up in the gcc-4.5 time frame?
Gabriel dos Reis was working on constexpr. I don't know its current status.
Jason