time_get_byname Class

派生模板选件类描述可用作类型 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()
};

参数

  • _Locname
    命名区域设置。

  • _Refs
    初始引用计数。

要求

命名区域设置确定其行为 _Locname。每个构造函数初始化其与 time_get<CharType, InputIterator>(_Refs)的基对象。

要求

标头: <locale>

命名空间: std

请参见

参考

线程安全性对标准C++库中