Thread overview
std.format.format() ... ??!!
Nov 27, 2013
evilrat
November 27, 2013
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
November 27, 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.
November 27, 2013
On 27/11/13 12:17, evilrat wrote:
> for string formatting use std.string.format, it is like writefln but for strings.

Which I normally do. :-)  But in this case my question is slightly more specific ...