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

Class template simple_exception_policy

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 simple_exception_policy

boost::CV::simple_exception_policy — Template to shortcut the constrained_value policy creation process.

Synopsis

// In header: <boost/date_time/constrained_value.hpp>
template<typename rep_type, rep_type min_value, rep_type max_value, 
         typename exception_type> 
class simple_exception_policy {
public:
  // types
  typedef rep_type value_type;
  // member classes/structs/unions
  struct exception_wrapper : public exception_type {
    // public member functions
    operator std::out_of_range() const;
  };
  // public static functions
  static rep_type min BOOST_PREVENT_MACRO_SUBSTITUTION();
  static rep_type max BOOST_PREVENT_MACRO_SUBSTITUTION();
  static void on_error(rep_type, rep_type, violation_enum);
};

Description

simple_exception_policy public static functions

  1. <
    staticrep_typeminBOOST_PREVENT_MACRO_SUBSTITUTION();
    >
  2. <
    staticrep_typemaxBOOST_PREVENT_MACRO_SUBSTITUTION();
    >
  3. <
    staticvoidon_error(rep_type,rep_type,violation_enum);
    >

PrevUpHomeNext

Статья Class template simple_exception_policy раздела 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 20:28:28/0.006087064743042/0