class template
std::basic_ispanstream(C++23)
namespace std {
template <class CharT,
class Traits = char_traits<CharT> >
class basic_ispanstream : public basic_istream<CharT, Traits>;
using ispanstream = basic_ispanstream<char>;
using wispanstream = basic_ispanstream<wchar_t>;
}
概要
std::basic_ospanstreamクラスは、std::span を使用した固定長ストリームバッファを入力元とする入力ストリームである。
メンバ関数
非メンバ関数
| 名前 |
説明 |
対応バージョン |
swap |
2つのオブジェクトを入れ替える |
C++11 |
メンバ型
| 名前 |
説明 |
対応バージョン |
char_type |
テンプレート仮引数CharT |
C++23 |
int_type |
Traits::int_type |
C++23 |
pos_type |
Traits::pos_type |
C++23 |
off_type |
Traits::off_type |
C++23 |
traits_type |
テンプレート仮引数Traits |
C++23 |
例
出力
A B C
バージョン
言語
処理系
参照