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 to view this page for the latest version.

Struct greg_durations_config

boost::gregorian::greg_durations_config — config struct for additional duration types (ie months_duration<> & years_duration<>)


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

struct greg_durations_config {
  // types
  typedef date                                  date_type;          
  typedef date_time::int_adapter< int >         int_rep;            
  typedef date_time::month_functor< date_type > month_adjustor_type;