std.format.format() ... ??!!

evilrat evilrat666 at gmail.com
Wed Nov 27 03:17:38 PST 2013


On Wednesday, 27 November 2013 at 10:39:56 UTC, Joseph Rushton 
Wakeling wrote:
> Hello all,
>
> I'm currently messing around in the internals of std.complex 
> (cf. discussion on main mailing list:-).  In Complex.toString 
> there is a deprecation message asking the user to "use 
> std.format.format()".
>
> However, so far as I can tell both via docs and browsing 
> std/format.d there _is_ no std.format.format() -- there's only 
> std.string.format().
>
> So, what gives? :-)
>
> Thanks & best wishes,
>
>     -- Joe

for string formatting use std.string.format, it is like writefln 
but for strings.


More information about the Digitalmars-d-learn mailing list