
3 Nov
2008
3 Nov
'08
11:48 p.m.
Hi, I want to send out instances of one type and receive the same data format but build instances of a different type. Obviously I can just define serialize() for each of them, but can I define only save for the outgoing type and load for the incoming one, causing serialization in the other direction to be a compile-time error? Not a big deal, but it would be more expressive that way. TIA, -- Dave Abrahams BoostPro Computing http://www.boostpro.com