Is the world coming to an end?

spir denis.spir at gmail.com
Sun Apr 3 11:40:54 PDT 2011


On 04/03/2011 06:14 PM, Andrei Alexandrescu wrote:
> Adding octal!777 to std.conv is consistent with the notion that there still are
> a few uses for octal constants that are worth a presence in the standard
> library. It is also consistent with the desire to foster other user-defined
> literals defined from the same mold.

What about a general baseNumber template instead?
...which would also be trivially "alias-able":
     alias baseNumber!3 base3;

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d mailing list