共用方式為


time_put_byname 類別

衍生的範本類別描述可做為地區設定型別 time_put< CharType, OutputIterator >Facet 的物件。

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) 的基礎物件。

需求

標題: <地區設定>

命名空間: std

請參閱

參考

C++ 標準程式庫中的執行緒安全