Re: Question on C++-0x constexpr

2009-10-15 Thread Gabriel Dos Reis
On Thu, Oct 15, 2009 at 11:24 AM, Ed Smith-Rowland <3dw...@verizon.net> wrote: > I was toying around with constexpr in the standard library and tripped on > this: > > // /bin/bin/g++ -std=c+

Question on C++-0x constexpr

2009-10-15 Thread Ed Smith-Rowland
I was toying around with constexpr in the standard library and tripped on this: // /bin/bin/g++ -std=c++0x -c template_constexpr.cpp template class A { static constexpr int foo() { retur