Boost logo

Boost Users :

Subject: [Boost-users] [serialization] When do I need to overload operators
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2010-09-19 06:36:15


Hi:
In trhe demo.cpp file in the Serialization examples, the << and >> operators are made friends of the gps_position class and are overridden. In what circumstances do I need to override these operators and when can I get away with just writing a Serialize template function.
Regards
Sean.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net