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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct bad_day_of_month

boost::gregorian::bad_day_of_month — Exception type for gregorian day of month (1..31).

Synopsis

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


struct bad_day_of_month {
  // construct/copy/destruct
  bad_day_of_month();
  bad_day_of_month(const std::string &);
};

Description

bad_day_of_month public construct/copy/destruct

  1. bad_day_of_month();
  2. bad_day_of_month(const std::string & s);
    Allow other classes to throw with unique string for bad day like Feb 29.

PrevUpHomeNext