On 4/3/11 1:40 PM, spir wrote:
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;
When was last time you've been in a place in life when you could have
used a base 3 literal?
Andrei