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 an old version of boost. Click here for the latest version's documentation home page.

Function template load

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


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

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


ptime objects are broken down into 2 parts for serialization: a date object and a time_duration onject