Class template year_functorboost::date_time::year_functor — Functor to iterate by a year adjusting for leap years. Synopsistemplate<typename date_type> class year_functor { public: // types typedef date_type::duration_type duration_type; // construct/copy/destruct year_functor(int); // public member functions duration_type get_offset(const date_type &) const; duration_type get_neg_offset(const date_type &) const; }; |