C++ developer choices in open source projects

ROOAR via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 31 03:59:54 PDT 2014


> 3.0_miles vs 3.0_km
>
> Sure you could have done it this way instead:
>
> miles(3.0) vs km(3.0)
>
> But people don't, so providing literals is a good addition for 
> C++.
>
> (And no, string processing at compile time is not a good idea! 
> It suffers from the same problems as macros.)

  UDL is a nice feature yah


More information about the Digitalmars-d mailing list