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 save

serialization::save — Function to save first_day_of_the_week_in_month objects using serialization lib.


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

template<typename Archive> 
  void save(Archive & ar, const gregorian::first_kday_of_month & fkd, 
            unsigned int);


first_day_of_the_week_in_month objects are broken down into 2 parts for serialization: the day of the week, and the month