Time for Phobos CTFE-ability unittests...right? RIGHT?

Jonathan M Davis jmdavisProg at gmx.com
Sat Jul 30 14:11:40 PDT 2011


On Saturday 30 July 2011 21:09:48 Don wrote:
> dsimcha wrote:
> > The following look like they are simple matters of programming and could
> > be implemented eventually:
> > 
> > With statements, scope statements, try-catch-finally statements, throw
> > statements.
> > 
> > Delete expressions.
> > 
> > Classes and interfaces.
> 
> Correct. If you use them, the error message for all of these is "XXX is
> not yet implemented in CTFE", whereas the others say "cannot be
> interpreted at compile time". They'll all work eventually. (Not sure
> about delete, it might not be good idea).

Isn't delete supposed to be deprecated? If so, then I definitely wouldn't 
expect CTFE to support it.

- Jonathan M Davis


More information about the Digitalmars-d mailing list