• Class / Function / Type

      std::
    • Header file

      <>
    • Other / All

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

    履歴 編集

    <ostream>

    ostream

    <ostream>ヘッダでは、出力処理に関するクラスやマニピュレータ(の実体である関数)などが定義されている。

    型と関数(マニピュレータを除く)

    名前 説明 対応バージョン
    basic_ostream 出力ストリーム (class template)

    マニピュレータ

    名前 説明 対応バージョン
    endl 改行を出力し、バッファを出力して空にする
    ends ヌル文字を出力する
    flush バッファを出力して空にする
    flush_emit std::basic_osyncstreamをフラッシュし、保留中の出力を転送する C++20
    emit_on_flush std::basic_osyncstreamの同期時排出ポリシーをtrueにする C++20
    noemit_on_flush std::basic_osyncstreamの同期時排出ポリシーをfalseにする C++20

    print関数

    名前 説明 対応バージョン
    print 書式指定で出力する (function template) C++23
    println 書式指定で出力する。末尾改行付き (function template) C++23
    vprint_unicode 書式指定でUnicode出力する (function) C++23
    vprint_nonunicode 書式指定で非Unicode出力する (function) C++23

    バージョン

    言語

    • C++98