Thread overview | |||||
---|---|---|---|---|---|
|
November 27, 2013 std.format.format() ... ??!! | ||||
---|---|---|---|---|
| ||||
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 Re: std.format.format() ... ??!! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joseph Rushton Wakeling | 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 Re: std.format.format() ... ??!! | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | 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 ...
|
Copyright © 1999-2021 by the D Language Foundation