time_put_byname Class

衍生的類別會描述可做為地區設定型別 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的基底物件)。

需求

標題: <locale>

命名空間: std

請參閱

參考

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