|
Boost : |
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2006-02-18 20:32:18
David Abrahams wrote:
> Thorsten Ottosen <tottosen_at_[hidden]> writes:
>
>
>>Well, can't we think if deserialization as just another way of
>>constructing an object?
>>
>>So if deserialization fails, it's like when construction fails and you
>>might throw or abort. No?
>
>
> No; the usual deserialization method starts with an
> already-constructed object.
In boost's framework, sure. In others, eg. one found in C#, each
class has a special constructor.
-Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk