time_put_byname Class
派生模板选件类描述可用作类型 time_put< CharType, OutputIterator > 区域设置方面的对象。
template<class CharType,
class OutIt = ostreambuf_iterator<CharType, char_traits<CharType> > >
class time_put_byname : public time_put<CharType, OutputIterator>
{
public:
explicit time_put_byname(
const char *_Locname,
size_t _Refs = 0
);
explicit time_put_byname(
const string& _Locname,
size_t _Refs = 0
);
protected:
virtual ~time_put_byname();
};
参数
_Locname
区域设置名称。_Refs
初始引用计数。
备注
命名 区域设置确定其行为 _Locname。 每个构造函数初始化其与 time_put<CharType, OutputIterator>(_Refs)的基对象。
要求
标头: <locale>
命名空间: std