duck!

David Gileadi gileadis at NSPMgmail.com
Sat Oct 16 07:10:16 PDT 2010


On 10/16/10 12:30 AM, Christof Schardt wrote:
>> auto d = duck!Drawable(c); // awes
>
> What about "as" ?
>
> auto d = as!Drawable(c);
>
> Christof

Forgive my ignorance, but with uniform function syntax, could this be 
rewritten as:

auto d = c.as!Drawable;

or will uniform function syntax not work with templates?


More information about the Digitalmars-d mailing list