Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Class template year_functor

Boost , The Boost C++ Libraries BoostBook Documentation Subset , Library Reference

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

PrevUpHomeNext

Class template year_functor

boost::date_time::year_functor — Functor to iterate by a year adjusting for leap years.

Synopsis

// In header: <boost/date_time/adjust_functors.hpp>
template<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;
};

Description

year_functor public construct/copy/destruct

  1. <
    year_functor(intf);
    >

year_functor public member functions

  1. <
    duration_typeget_offset(constdate_type&d)const;
    >
  2. <
    duration_typeget_neg_offset(constdate_type&d)const;
    >

PrevUpHomeNext

Статья Class template year_functor раздела The Boost C++ Libraries BoostBook Documentation Subset Library Reference может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Library Reference ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 23:17:35/0.0060429573059082/0