On Sunday, 6 September 2015 at 03:42:20 UTC, BBasile wrote:
[...]
auto rng = StreamRange!(MemoryStream,long)(instance);
auto rng = StreamRange!(FileStream,float)(instance);
---

Actually I have nothing against your helper functions (except that they don't make Streams compatible with std.algorithm functions).

Same problem... StreamRange(...) assumes that all data in the stream is of the same type.

  -Bit

Reply via email to