<sstream>ヘッダでは、文字列オブジェクトを出力先・入力元とするストリームクラスを定義する。
ストリームバッファ
| 名前 | 説明 | 対応バージョン |
|---|---|---|
basic_stringbuf |
文字列ストリームバッファ(class template) | |
stringbuf |
char版の文字列ストリームバッファ(type-alias) |
|
wstringbuf |
wchar_t版の文字列ストリームバッファ(type-alias) |
入力ストリーム
| 名前 | 説明 | 対応バージョン |
|---|---|---|
basic_istringstream |
文字列入力ストリーム(class template) | |
istringstream |
char版の文字列入力ストリーム(type-alias) |
|
wistringstream |
wchar_t版の文字列入力ストリーム(type-alias) |
出力ストリーム
| 名前 | 説明 | 対応バージョン |
|---|---|---|
basic_ostringstream |
文字列出力ストリーム(class template) | |
ostringstream |
char版の文字列出力ストリーム(type-alias) |
|
wostringstream |
wchar_t版の文字列出力ストリーム(type-alias) |
入出力ストリーム
| 名前 | 説明 | 対応バージョン |
|---|---|---|
basic_stringstream |
文字列入出力ストリーム(class template) | |
stringstream |
char版の文字列入出力ストリーム(type-alias) |
|
wstringstream |
wchar_t版の文字列入出力ストリーム(type-alias) |