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

履歴 編集

function
<format>

std::basic_format_context::locale(C++20)

std::locale locale();

概要

ロケールを取得する。

効果

文字列フォーマット関数に指定されたロケールオブジェクトがあればそれを返し、そうでなければstd::locale()を返す。

バージョン

言語

  • C++20

処理系

参照