Share via


time_get_byname クラス

この派生クラス テンプレートは、型 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++ 標準ライブラリ内のスレッド セーフ