CTFE and DI: The Crossroads of D
Jonathan M Davis
jmdavisProg at gmx.com
Wed May 9 13:51:22 PDT 2012
On Wednesday, May 09, 2012 22:46:58 foobar wrote:
> This makes sense.
> So this means the datetime example would fail to compile when
> using druntime's .di files. This should be emphasized in the
> spec/docs to minimize the chance for gotchas for users.
>
> We could add an exception to this rule by tagging functions with
> e.g. "export". What do you think?
export already has another meaning. It also goes against the whole idea that
any function is supposed to be CTFEable without special annotations.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list