www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - BlockingTextWriter?

reply "Paul D. Anderson" <paul.d.removethis.anderson comcast.andthis.net> writes:
In the Phobos documentation for std.format:

"[O]utput is sent do this writer. Typical output writers include 
std.array.Appender!string and std.stdio.BlockingTextWriter."

std.stdio doesn't have a "BlockingTextWriter" but it does have a 
"LockingTextWriter".

Typo? Name change? "BlockingTextWriter" is scheduled for 
deprecation?

Also --

It was only after I cut and pasted the documentation fragment 
that I noticed that  output is sent "do" this writer.

Paul
Mar 17 2012
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 3/17/12 2:29 AM, Paul D. Anderson wrote:
 In the Phobos documentation for std.format:

 "[O]utput is sent do this writer. Typical output writers include
 std.array.Appender!string and std.stdio.BlockingTextWriter."

 std.stdio doesn't have a "BlockingTextWriter" but it does have a
 "LockingTextWriter".

 Typo? Name change? "BlockingTextWriter" is scheduled for deprecation?

 Also --

 It was only after I cut and pasted the documentation fragment that I
 noticed that output is sent "do" this writer.
Typos fixed. Thanks! Andrei
Mar 17 2012