[Issue 16993] Documentation for toSimpleString and toString does not explain how they differ

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 11 03:04:59 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=16993

--- Comment #2 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
toString does currently call toSimpleString, but the intention is that if you
actually care about the format of the string, you don't use toString. Instead,
you use a function like toSimpleString or toISOExtString that's explicit about
the format. toString is just intended to convert the type to a user-friendly
string, not for specific formatting.

--


More information about the Digitalmars-d-bugs mailing list