[serialization]Serializing ptime instances
Robert,
I need to serialize ptime class instances. As far as I can tell,
the ptime class isn't covered yet by serialization. However,
if I understand how things work, I believe I can do it myself
using split member.
In the save() function, I would convert my ptime instance into
a string, which I then serialize as a string. In the load() function,
I would retrieve the string and construct another ptime instance.
The other members of the class being serialized would be
handled by the usual
ar &
On Mon, 19 Dec 2005 09:03:11 -0600 (GMT-06:00), Merrill Cornish wrote
Robert,
I need to serialize ptime class instances. As far as I can tell, the ptime class isn't covered yet by serialization. However,
Actually it is. See the docs at: http://www.boost.org/doc/html/date_time/serialization.html Jeff
participants (2)
-
jeff
-
Merrill Cornish