Replacement for snprintf
Jacob Carlborg
doob at me.com
Sat Nov 2 16:59:15 UTC 2019
On 2019-11-01 18:02, H. S. Teoh wrote:
> That would be a better solution. It would be different from snprintf,
> though, and we'd have to document it well so that people can find it.
It depends on what the goal is. If it is to have 100% compatible drop-in
replacement to snprintf then we need to include the localization.
But if the goal is just to have a function that converts values to a
string, which is implemented in D, then have the opportunity to make a
better interface.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list