digitalmars.D.learn - LockingTextWriter not an output range?
- kookman (4/4) Apr 17 2018 The below static assert fails. Is this expected? Not the way I
- kookman (3/3) Apr 17 2018 Typo corrected:
- rikki cattermole (2/6) Apr 17 2018 static assert (isOutputRange!(typeof(stdout.lockingTextWriter()), char))...
- kookman (3/11) Apr 18 2018 Ah - thank you! (slapping my forehead for wasted 2 hours)
The below static assert fails. Is this expected? Not the way I read the docs. static assert (isOutputRange(typeof(stdout.lockingTextWriter), char));
Apr 17 2018
Typo corrected: static assert (isOutputRange!(typeof(stdout.lockingTextWriter), char));
Apr 17 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));
Apr 17 2018
On Wednesday, 18 April 2018 at 06:40:15 UTC, rikki cattermole wrote:On 18/04/2018 6:28 PM, kookman wrote:Ah - thank you! (slapping my forehead for wasted 2 hours)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));
Apr 18 2018