Export (0) Print
Expand All

time_put Class

The template class describes an object that can serve as a locale facet to control conversions of time values to sequences of type CharType.

template <
   class CharType,
   class OutputIterator = ostreambuf_iterator<CharType>
> class time_put : public locale::facet;

CharType

The type used within a program to encode characters.

OutputIterator

The type of iterator into which the time put functions write their output.

As with any locale facet, the static object ID has an initial stored value of zero. The first attempt to access its stored value stores a unique positive value in id.

time_put

The constructor for objects of type time_put.

char_type

A type that is used to describe a character used by a locale.

iter_type

A type that describes an output iterator.

do_put

A virtual function that outputs time and date information as a sequence of CharTypes.

put

Outputs time and date information as a sequence of CharTypes.

Header: <locale>

Namespace: std

Show:
© 2014 Microsoft