Output range and writeln style functions
Jon Degenhardt via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jan 23 15:50:51 PST 2017
On Monday, 23 January 2017 at 22:20:59 UTC, Ali Çehreli wrote:
> On 01/23/2017 12:48 PM, Jon Degenhardt wrote:
> [snip]
> > So, what I'm really wondering is if there is built-in way
>> to get closer to:
>>
>> outputStream.writefln(...);
>>
>
> If it's about formatted output then perhaps formattedWrite?
>
> https://dlang.org/phobos/std_format.html#.formattedWrite
>
> The same function is used with stdout and an Appender:
>
> [snip]
>
> Ali
Oh, that is better, thanks!
--Jon
More information about the Digitalmars-d-learn
mailing list