static if (__ctfe)

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 7 02:50:58 PDT 2014


On Wednesday, 7 May 2014 at 09:47:20 UTC, Yuriy wrote:
> Hello, is there any way to static if(__ctfe)? I want to declare 
> class members which are only available in ctfe. Thanx.

Sadly not as far as I know. What's the use-case? There may be a 
nice solution none-the-less.


More information about the Digitalmars-d-learn mailing list