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

serialization::load — Function to load gregorian::date objects using serialization lib.

Synopsis

// In header: <boost/date_time/gregorian/greg_serialize.hpp>


template<typename Archive> 
  void load(Archive & ar, ::boost::gregorian::date & d, unsigned int);

Description

Dates are serialized into a string for transport and storage. While it would be more efficient to store the internal integer used to manipulate the dates, it is an unstable solution.


PrevUpHomeNext