• Class / Function / Type

      std::
    • Header file

      <>
    • Other / All

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

    履歴 編集

    concept
    <format>

    std::fmt-maybe-const

    namespace std {
      template <class R, class charT>
      using fmt-maybe-const =
        conditional_t<const-formattable-range<R, charT>, const R, R>;
    }
    

    概要

    fmt-maybe-constは、formatter::format()関数のパラメータ型として使用するための(const) Range型を取得する、型の別名である。

    バージョン

    言語

    • C++23

    処理系

    参照