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 the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template load_td

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

Synopsis

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


template<typename TimeResTraitsSize, typename Archive> 
  void load_td(Archive & ar, posix_time::time_duration & td);

Description

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


PrevUpHomeNext