LockingTextWriter not an output range?

kookman thekookman at gmail.com
Thu Apr 19 06:18:08 UTC 2018


On Wednesday, 18 April 2018 at 06:40:15 UTC, rikki cattermole 
wrote:
> On 18/04/2018 6:28 PM, kookman wrote:
>> The below static assert fails. Is this expected? Not the way I 
>> read the docs.
>> 
>> static assert (isOutputRange(typeof(stdout.lockingTextWriter), 
>> char));
>
> static assert 
> (isOutputRange!(typeof(stdout.lockingTextWriter()), char));

Ah - thank you! (slapping my forehead for wasted 2 hours)


More information about the Digitalmars-d-learn mailing list