catchy phrase for this idiom?

BCS none at anon.com
Sat Mar 14 10:27:42 PDT 2009


Hello Tim,

> What's verbose about a template with a single declaration?
> 
> Verbose adj. "Using or containing a great and usually an excessive
> number  of words"
> 

there is no compact form for alias but this

T Foo(T)(T t) { return t; }

is internally identical the the more verbose form:

template Foo(T) { T Foo(T t){ return t; } }





More information about the Digitalmars-d mailing list