On 10/16/10 2:30 CDT, Christof Schardt wrote:
auto d = duck!Drawable(c); // awes

What about "as" ?

auto d = as!Drawable(c);

Nice too, and evokes "to". "to" was a success in spite of the fact that it's difficult to talk about (e.g. "Could you use 'to'?" "To what?" etc). I still prefer "duck" because it doesn't have this problem.

Speaking of which, it looks like std.conv is a good place to put duck in.


Andrei

Reply via email to