std::basic_ios<CharT,Traits>:: move
| I/O manipulators | ||||
| Print functions (C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(C++20)
|
||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
| Synchronized Output | ||||
|
(C++20)
|
||||
| Types | ||||
| Error category interface | ||||
|
(C++11)
|
||||
|
(C++11)
|
| Member functions | ||||
| State functions | ||||
| Formatting | ||||
| Miscellaneous | ||||
| Protected member functions | ||||
|
basic_ios::move
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
|
protected
:
void move ( basic_ios & other ) ; |
(C++11以降) | |
|
protected
:
void move ( basic_ios && other ) ; |
(C++11以降) | |
other
の状態を、関連付けられた
rdbuf
を除いて現在の状態と置き換えます。
呼び出し後、
other
は有効だが未規定の状態になります。この関数の呼び出し後、
rdbuf()
は null ポインタを返し、
other.
rdbuf
(
)
は呼び出し前と同じ値を返し、
other.
tie
(
)
は null ポインタを返します。
このメンバ関数は protected です:派生ストリームクラスの protected ムーブコンストラクタによって呼び出されます std::basic_ostream および std::basic_istream のもので、これらはさらに派生したストリームクラス(例えば std::basic_ofstream など)の public ムーブコンストラクタによって呼び出され、関連付けられた streambuffer を正しくムーブする方法を知っています。
パラメータ
| その他 | - |
状態を転送する
basic_ios
オブジェクト
|
戻り値
(なし)
関連項目
|
(C++11)
|
別の
std::basic_ios
と交換する(
rdbuf
を除く)
(protected member function) |