Thread overview
LockingTextWriter not an output range?
Apr 18, 2018
kookman
Apr 18, 2018
kookman
Apr 18, 2018
rikki cattermole
Apr 19, 2018
kookman
April 18, 2018
The below static assert fails. Is this expected? Not the way I read the docs.

static assert (isOutputRange(typeof(stdout.lockingTextWriter), char));
April 18, 2018
Typo corrected:

static assert (isOutputRange!(typeof(stdout.lockingTextWriter), char));

April 18, 2018
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));
April 19, 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)