Boost C++ Libraries 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.

Function special_value_from_string

boost::gregorian::special_value_from_string — Return special_value from string argument.


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

BOOST_DATE_TIME_DECL special_values 
special_value_from_string(const std::string & s);


Return special_value from string argument. If argument is not one of the special value names (defined in src/gregorian/names.hpp), return 'not_special'