[Issue 12767] writeln of a struct with toString returning char[N]
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon May 19 07:24:13 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12767
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
Interesting, I never thought about returning static arrays. Currently as a
workaround you could implement a toString that takes a format string and an
output range.
--
More information about the Digitalmars-d-bugs
mailing list