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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Function template load

load — Function to load posix_time::time_duration objects using serialization lib.


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

template<typename Archive> 
  void load(Archive & ar, posix_time::time_duration & td, unsigned int);


time_duration objects are broken down into 4 parts for serialization: types are hour_type, min_type, sec_type, and fractional_seconds_type as defined in the time_duration class