Range interface for std.serialization
Dicebot
public at dicebot.lv
Sun Aug 25 12:15:59 PDT 2013
On Sunday, 25 August 2013 at 08:36:40 UTC, Dmitry Olshansky wrote:
> Same thoughts here.
> Serializer is an output range for pretty much anything (that is
> serializable). Literally isOutputRange!T would be true for a
> whole lot of things, making it possible to dumping any ranges
> of Ts via copy.
> Just make its put method work on a variety of types and you
> have it.
Can't it be both OutputRange itself and provide InputRange via
`serialize` call (for filters & similar pipe processing)?
More information about the Digitalmars-d
mailing list