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

Reply via email to