Stream mixins?

Sean Kelly sean at f4.ca
Sun Nov 11 08:12:52 PST 2007


Janice Caron wrote:
> Hi, Walter, I just had a good idea. (Well, I think it's a good idea!)
> 
> Please could you separate out the member functions of
> std.stream.Stream into three mixins: ReadMixin, WriteMixin and
> SeekMixin?

Not much help for Phobos I suppose, but I did this in an example stream 
implementation about three years ago:

http://www.invisibleduck.org/~sean/code/io/stream.d


Sean



More information about the Digitalmars-d mailing list