Partager via


time_get_byname Class

The derived template class describes an object that can serve as a locale facet of type time_get<CharType, InputIterator>.

template<class Elem, class InputIterator = 
   istreambuf_iterator<CharType, char_traits<CharType> > >
   class time_get_byname : public time_get<CharType, InputIterator>
{
public:
    explicit time_get_byname(
        const char *_Locname,
         size_t _Refs = 0
    );
    explicit time_get_byname(
        const string& _Locname,
        size_t _Refs = 0
    );
protected:
    virtual ~time_get_byname()
};

Parameters

  • _Locname
    A named locale.

  • _Refs
    An initial reference count.

Requirements

Its behavior is determined by the named locale _Locname. Each constructor initializes its base object with time_get<CharType, InputIterator>(_Refs).

Requirements

Header: <locale>

Namespace: std

See Also

Reference

Thread Safety in the Standard C++ Library

Other Resources

<locale> Members