
19 Feb
2006
19 Feb
'06
1:32 a.m.
David Abrahams wrote:
Thorsten Ottosen <tottosen@dezide.com> 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