次の方法で共有


time_get Class

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

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

template < 
   class CharType,
   class InputIterator = istreambuf_iterator<CharType> 
> 
class time_get : public time_base

Parameters

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

  • InputIterator
    The iterator from which the time values are read.

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

Concepts

time_get Members

time_base Class

<locale> Members

Thread Safety in the Standard C++ Library