On Thursday, 11 July 2013 at 03:10:38 UTC, timotheecour wrote:
On Thursday, 11 July 2013 at 02:17:13 UTC, Timothee Cour wrote:
[snip]

can we add this to std.traits?
it allows (among other things) to write unittests for CTFE, etc.

Phobos has an internal helper function for testing CTFEable.
https://github.com/D-Programming-Language/phobos/blob/master/std/exception.d#L1322

Kenji Hara

Reply via email to