On Saturday, 23 August 2014 at 22:12:06 UTC, Nordlöw wrote:
I'm looking for a trait, say isCTExpression, that can check
I just say
http://forum.dlang.org/thread/mailman.1953.1373509028.13711.digitalmar...@puremagic.com
Is this still the preferred way to do it?
I'm looking for a trait, say isCTExpression, that can check
whether an alias parameter is an expression evaluable during
compile-time? Have anybody written such a thing?
On Saturday, 23 August 2014 at 22:14:34 UTC, Nordlöw wrote:
On Saturday, 23 August 2014 at 22:12:06 UTC, Nordlöw wrote:
As a complement I came up with
/** Check if the value of $(D expr) is known at compile-time.
See also: