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입니다: 파생 스트림 클래스인 std::basic_ostream 와 std::basic_istream 의 protected 이동 생성자에 의해 호출되며, 이들은 다시 std::basic_ofstream 과 같은 더 파생된 스트림 클래스들의 public 이동 생성자에 의해 호출됩니다. 이러한 클래스들은 연관된 streambuffer를 올바르게 이동하는 방법을 알고 있습니다.
매개변수
| other | - |
상태를 전송할
basic_ios
객체
|
반환값
(없음)
참고 항목
|
(C++11)
|
다른
std::basic_ios
와 교환하지만
rdbuf
는 제외
(protected member function) |