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.

For a list of all members of this type, see time_put Members.

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

Parameters

  • CharType
    The type used within a program to encode characters.

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

Remarks

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.

Requirements

Header: <locale>

Namespace: std

See Also

Reference

time_base Class

Thread Safety in the Standard C++ Library

Other Resources

time_put Members

<locale> Members