Curl wrapper

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue May 17 11:40:21 PDT 2011


On 5/17/11 1:35 PM, Andrej Mitrovic wrote:
> On 5/17/11, Andrei Alexandrescu<SeeWebsiteForEmail at erdani.org>  wrote:
>> Yah, const(ubyte)[] is much more reasonable. We may as well add a
>> function representation() that returns it for any object.
>
> Would this mean that e.g. you could save the state of an object to
> disk via repr(), and then retrieve the state at a later point?

If it embeds no pointers, sure. Otherwise, a more involved serialization 
mechanism must be used.

Andrei


More information about the Digitalmars-d mailing list