File.lockingBinaryWriter is not output range?

Denis Feklushkin feklushkin.denis at gmail.com
Tue Mar 19 13:22:32 UTC 2019


On Tuesday, 19 March 2019 at 13:14:52 UTC, Denis Feklushkin wrote:

>     stdout.lockingBinaryWriter.put(cast(byte) 123); // works
>
>     // But this assert is false:
>     static 
> assert(isOutputRange!(typeof(stdout.lockingBinaryWriter), 
> byte));
> }

Looks like isOutputRange is not checks "put" method properly?



More information about the Digitalmars-d-learn mailing list