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

Click here to view the latest version of this page.
PrevUpHomeNext

Struct greg_durations_config

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

Synopsis

// 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;
};

PrevUpHomeNext