dmd 1.057 and 2.041 release

Robert Clipsham robert at octarineparrot.com
Mon Mar 8 15:23:36 PST 2010


On 08/03/10 22:53, Andrei Alexandrescu wrote:
> What I usually do is:
>
> T foo(T)(T s) if (is(typeof(s + s))) {
> }
>
> Andrei

That's far nicer, I keep forgetting about is(typeof()), thanks :)


More information about the Digitalmars-d-announce mailing list