On 04/06/2012 03:56 PM, Steven Schveighoffer wrote:
On Fri, 06 Apr 2012 09:53:59 -0400, Timon Gehr <timon.g...@gmx.ch> wrote:

I think this proposal should be merged with Johannes' one.

It is very similar. I think the main distinction is that I focused on
the fact that the compiler already has a mechanism to check and run CTFE
functions.

-Steve

Checking and running are basically the same thing. The compiler can run functions that are only partially ctfe-able.

Constructors are functions too, and the compiler can run them too. I think the implementation should just allow any ctfe-callable symbol to be used as an attribute.

Reply via email to