> 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