std.serialization: pre-voting review / discussion

ilya-stromberg ilya-stromberg-2009 at yandex.ru
Sat Aug 24 13:22:22 PDT 2013


On Saturday, 24 August 2013 at 19:32:13 UTC, Jacob Carlborg wrote:
> On 2013-08-24 21:26, ilya-stromberg wrote:
>
>> In that case maybe we should remove "Serializable" interface? 
>> And just
>> spesify that user must implement "toData" or "fromData" for 
>> custom
>> serializing or deserializing. Is it possible?
>
> Yes, that's what I'm planning to do.

Maybe we should rename methods "toData" and "fromData" to avoid 
name collisions? For example, we can use serializeToData and 
deserializeFromData, it will be clearer.


More information about the Digitalmars-d mailing list