Compile-time int-to-string conversion

bearophile bearophileHUGS at lycos.com
Wed May 6 02:10:45 PDT 2009


Lars T. Kyllingstad:
> How can one, in D2, at compile time, convert an integer value (or any 
> other type, for that matter) to a string?

std.metastrings.ToString or std.metastrings.Format, but in D2 that Format is buggy.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list