Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

Function template save

save — Function to save posix_time::time_period objects using serialization lib.

Synopsis

// In header: <boost/date_time/posix_time/time_serialize.hpp>


template<typename Archive> 
  void save(Archive & ar, const posix_time::time_period & tp, unsigned int);

Description

time_period objects are broken down into 2 parts for serialization: a begining ptime object and an ending ptime object


PrevUpHomeNext