On 5/31/10 10:00 PDT, Shin Fujishiro wrote:
I want chunks of Range version like ByLine(and I hope byChunk returns ByChunk).I want it too. But ByChunk should be more generic IMO. It should be an adaptor which converts some "bulk input" to range. This is a bulk input model (similar to the Source concept*1): ---------- struct BulkInput { // Returns true if there is no more data bool eof(); // Reads data in buf and returns the number of elements read size_t read(T[] buf); size_t read(U[] buf); ... } ----------
What types are T and U? Andrei _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
