Implicit enum conversions are a stupid PITA

Adam D. Ruppe destructionator at gmail.com
Thu Mar 25 13:20:37 PDT 2010


On Thu, Mar 25, 2010 at 04:08:26PM -0400, bearophile wrote:
> OK.
> But are you sure you want a template named just "O" in the std lib? Oct or Octal can cause less collisions.

The name doesn't matter much to me. I said O!777 just because looks as similar
on the screen to 0777 as we can without changing the rules of the language.

I'm ok with octal too; the name isn't a big deal.

> If this can work and be safe, then it's a cute idea.

Aye. If only implementing it were free :P

-- 
Adam D. Ruppe
http://arsdnet.net



More information about the Digitalmars-d mailing list