Spell checking errors can be hilarious

Ali Çehreli acehreli at yahoo.com
Tue Oct 13 23:42:09 UTC 2020


On 10/13/20 4:11 PM, H. S. Teoh wrote:
> On Tue, Oct 13, 2020 at 09:15:54AM -0400, Andrei Alexandrescu via Digitalmars-d wrote:

>> Finally someone said it. You can pry "to" outta my cold dead hands.
> 
> Me too!  std.conv.to is one of the coolest things about D. If it's
> removed, I will die a little inside.

Ok, me four. :)

I've defined 'as' as well but as a member function template. Something like:

   buffer.as!long
   buffer.as!(int[])  // which parses the length first

Ali


More information about the Digitalmars-d mailing list