duck!

Lutger lutger.blijdestijn at gmail.com
Sat Oct 16 06:46:09 PDT 2010


Justin Johansson wrote:

> On 16/10/2010 6:30 PM, Christof Schardt wrote:
>>> auto d = duck!Drawable(c); // awes
>>
>> What about "as" ?
>>
>> auto d = as!Drawable(c);
>>
>> Christof
> 
> This is a totally brilliant suggestion by Christof as
> anyone who understands the XPath 2.0 type language
> would tell you also.
> 
> While finding duck! rather cute, marketing intelligence
> will confirm that Christof's as! suggestion is the way to go.
> 
> I feel woeful that I did not think of it myself.  Award
> for naming suggestion definitely goes to Christof.
> 
> Justin

plus, it's shorter to type. 

*ducks*



More information about the Digitalmars-d mailing list