The Wayback Machine - https://web.archive.org/web/20191220180050/https://ja.cppreference.com/w/cpp/header/iosfwd
名前空間
変種
操作

標準ライブラリヘッダ <iosfwd>

提供: cppreference.com
< cpp‎ | header
 
 
 

このヘッダには入出力ライブラリのための前方宣言が含まれます。

前方宣言

ヘッダ <string> で定義
std::char_traits 文字型の性質を記述するクラステンプレート (クラステンプレート)
std::char_traits<char>(クラステンプレートの特殊化)
std::char_traits<wchar_t>(クラステンプレートの特殊化)
std::char_traits<char8_t>(C++20)(クラステンプレートの特殊化)
std::char_traits<char16_t>(C++11)(クラステンプレートの特殊化)
std::char_traits<char32_t>(C++11)(クラステンプレートの特殊化)
ヘッダ <memory> で定義
デフォルトのアロケータ
(クラステンプレート)[edit]
ヘッダ <ios> で定義
任意のストリームバッファを管理します
(クラステンプレート)[edit]
ストリームまたはファイル内の絶対位置を表します
(クラステンプレート)[edit]
ヘッダ <streambuf> で定義
生のデバイスを抽象化します
(クラステンプレート)[edit]
ヘッダ <ostream> で定義
与えられた抽象デバイス (std::basic_streambuf) をラップし、高水準の出力インタフェースを提供します
(クラステンプレート)[edit]
ヘッダ <istream> で定義
与えられた抽象デバイス (std::basic_streambuf) をラップし、高水準の入力インタフェースを提供します
(クラステンプレート)[edit]
与えられた抽象デバイス (std::basic_streambuf) をラップし、高水準の入出力インタフェースを提供します
(クラステンプレート)[edit]
ヘッダ <fstream> で定義
生のファイルデバイスを実装します
(クラステンプレート)[edit]
高水準のファイルストリーム入力操作を実装します
(クラステンプレート)[edit]
高水準のファイルストリーム出力操作を実装します
(クラステンプレート)[edit]
高水準のファイルストリーム入出力操作を実装します
(クラステンプレート)[edit]
ヘッダ <sstream> で定義
生の文字列デバイスを実装します
(クラステンプレート)[edit]
高水準の文字列ストリーム入力操作を実装します
(クラステンプレート)[edit]
高水準の文字列ストリーム出力操作を実装します
(クラステンプレート)[edit]
高水準の文字列ストリーム入出力操作を実装します
(クラステンプレート)[edit]
ヘッダ <syncstream> で定義
同期化出力デバイスラッパー
(クラステンプレート)[edit]
同期化出力ストリームラッパー
(クラステンプレート)[edit]
ヘッダ <strstream> で定義
(C++98で非推奨)
生の文字配列デバイスを実装します
(クラス)[edit]
(C++98で非推奨)
文字配列入力操作を実装します
(クラス)[edit]
(C++98で非推奨)
文字配列出力操作を実装します
(クラス)[edit]
(C++98で非推奨)
文字配列入出力操作を実装します
(クラス)[edit]

typedef および特殊化

std::streamposfpos<char_traits<char>::state_type>
std::wstreamposfpos<char_traits<wchar_t>::state_type>
さらに、このヘッダで宣言されている各々のクラステンプレート std::basic_T について、 std::T および std::wT がそれぞれ std::basic_T<char> および std::basic_T<wchar_t> の別名として宣言されます。

[編集]概要

namespace std {   template<class charT>class char_traits;template<>class char_traits<char>;template<>class char_traits<char8_t>;template<>class char_traits<char16_t>;template<>class char_traits<char32_t>;template<>class char_traits<wchar_t>;   template<class T>class allocator;   template<class charT, class traits = char_traits<charT>>class basic_ios;   template<class charT, class traits = char_traits<charT>>class basic_streambuf;template<class charT, class traits = char_traits<charT>>class basic_istream;template<class charT, class traits = char_traits<charT>>class basic_ostream;template<class charT, class traits = char_traits<charT>>class basic_iostream;template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>>class basic_stringbuf;   template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>>class basic_istringstream;template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>>class basic_ostringstream;template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>>class basic_stringstream;   template<class charT, class traits = char_traits<charT>>class basic_filebuf;template<class charT, class traits = char_traits<charT>>class basic_ifstream;template<class charT, class traits = char_traits<charT>>class basic_ofstream;template<class charT, class traits = char_traits<charT>>class basic_fstream;   template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>>class basic_syncbuf;template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>>class basic_osyncstream;   template<class charT, class traits = char_traits<charT>>class istreambuf_iterator;template<class charT, class traits = char_traits<charT>>class ostreambuf_iterator;     typedef basic_ios<char> ios;typedef basic_ios<wchar_t> wios;   typedef basic_streambuf<char> streambuf;typedef basic_istream<char> istream;typedef basic_ostream<char> ostream;typedef basic_iostream<char> iostream;   typedef basic_stringbuf<char> stringbuf;typedef basic_istringstream<char> istringstream;typedef basic_ostringstream<char> ostringstream;typedef basic_stringstream<char> stringstream;   typedef basic_filebuf<char> filebuf;typedef basic_ifstream<char> ifstream;typedef basic_ofstream<char> ofstream;typedef basic_fstream<char> fstream;   typedef basic_syncbuf<char> syncbuf;typedef basic_osyncstream<char> osyncstream;   typedef basic_streambuf<wchar_t> wstreambuf;typedef basic_istream<wchar_t> wistream;typedef basic_ostream<wchar_t> wostream;typedef basic_iostream<wchar_t> wiostream;   typedef basic_stringbuf<wchar_t> wstringbuf;typedef basic_istringstream<wchar_t> wistringstream;typedef basic_ostringstream<wchar_t> wostringstream;typedef basic_stringstream<wchar_t> wstringstream;   typedef basic_filebuf<wchar_t> wfilebuf;typedef basic_ifstream<wchar_t> wifstream;typedef basic_ofstream<wchar_t> wofstream;typedef basic_fstream<wchar_t> wfstream;   typedef basic_syncbuf<wchar_t> wsyncbuf;typedef basic_osyncstream<wchar_t> wosyncstream;   template<class state>class fpos;typedef fpos<char_traits<char>::state_type> streampos;typedef fpos<char_traits<wchar_t>::state_type> wstreampos;   }
close