最終更新日時(UTC):
が更新

履歴 編集

function
<locale>

std::locale::コンストラクタ

locale() noexcept;
locale(const locale&) noexcept;
explicit locale(const char*);
explicit locale(const string&);
locale(const locale&, const char*, category);
locale(const locale&, const string&, category);
template<typename Facet>
locale(const locale&, Facet*);
locale(const locale&, const locale&, category);

localeオブジェクトの構築

  • locale() noexcept;
    デフォルトコンストラクタ。呼び出した時点のグローバルlocaleのコピーを作成する。
  • locale(const locale&) noexcept;
    コピーコンストラクタ。
  • explicit locale(const char* name);
    名前からの構築。
  • explicit locale(const string& name);
    名前からの構築。
  • locale(const locale& other, const char* name, category cats);
    catsで指定された部分についてはnameで指定されるlocaleの、それ以外はotherのファセットを組み合わせたlocaleを構築。
  • locale(const locale& other, const string& name, category cats);
    同上。
  • template<typename Facet>
    locale(const locale& other, Facet* f);
    fotherのファセット(fと同種のファセット以外)を組み合わせたlocaleの構築。
  • locale(const locale& other, const locale& one, category cats);
    catsで指定された部分についてはoneの、それ以外はotherのファセットを組み合わせたlocaleを構築。


出力

参照