duck!
Walter Bright
newshound2 at digitalmars.com
Sat Oct 16 13:32:41 PDT 2010
Lutger wrote:
> 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*
Try googling "as for D"
More information about the Digitalmars-d
mailing list