![]() |
Home | Libraries | People | FAQ | More |
boost::date_time::special_values_formatter — Class that provides generic formmatting ostream formatting for special values.
// In header: <boost/date_time/special_values_formatter.hpp> template<typename CharT, typename OutItrT = CharT, CharT> > > class special_values_formatter { public: // types typedef CharT > ; typedef CharT ; typedef ; // construct/copy/destruct (); (const const *, const const *); (typename , typename ); // public member functions OutItrT (OutItrT, const ) ; // public data members static const default_special_value_names; // Storage for the strings used to indicate special values. };
This class provides for the formmating of special values to an output stream. In particular, it produces strings for the values of negative and positive infinity as well as not_a_date_time.
While not a facet, this class is used by the date and time facets for formatting special value types.
special_values_formatter
public
construct/copy/destruct();Construct special values formatter using default strings.
Default strings are not-a-date-time -infinity +infinity
(const const * begin, const const * end);Construct special values formatter from array of strings.
This constructor will take pair of iterators from an array of strings that represent the special values and copy them for use in formatting special values.
(typename beg, typename end);