Implicit enum conversions are a stupid PITA
Adam D. Ruppe
destructionator at gmail.com
Thu Mar 25 18:57:05 PDT 2010
On Fri, Mar 26, 2010 at 02:38:53AM +0100, Don wrote:
> Do NOT use toStringNow. std.metastrings is mostly obsolete -- it
> predates CTFE.
All I wanted there was a quick conversion. At first, I wrote
octal!(to!string(my_integer));
but it didn't compile...
In any case, redoing it is simple enough, but if you don't want people
using the solution in the library, it should at least be marked in the
docs.
--
Adam D. Ruppe
http://arsdnet.net
More information about the Digitalmars-d
mailing list