
14 Oct
2005
14 Oct
'05
9:39 a.m.
Vladimir Prus wrote:
What other operator would you suggest?
- "<<" is not good because the library can not just save, but also load data - ">>" is not good for the same reason - Writing
a.serialize(member1).serialize(member2)
is very inconvenient.
I agree. It may not be the most obvious but it allows a single serialize function rather than explicit save/load functions or chained calls as you've shown above. If someone thinks a different operator is more suitable then fine, but I like the single operator that is present at the moment. Cheers Russell