Range interface for std.serialization
doob at me.com
Thu Aug 22 09:21:48 PDT 2013
On 2013-08-22 17:49, Dicebot wrote:
> I was thinking about this but do we have any way to express non-monotone
> range in D? Variant seems only option, it implies that any format used
> by Archiver must always store type information though.
I'm wondering how interesting this really is to support. I basically
only serialize a single object, which is the start of an object graph or
> After some thinking I come to conclusion that is simply a matter of two
> `data` ranges - one parametrized by output type and other "raw". Latter
> than can output stuff in string chunks of undefined size (as small as
> serialization implementation allows). Does that help?
Do you mean that only the archive should handle ranges and the
More information about the Digitalmars-d