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 | ||||
basic_ios::basic_ios | ||||
State functions | ||||
Formatting | ||||
Miscellaneous | ||||
Protected member functions | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) |
protected: basic_ios(); | (1) | |
public: explicit basic_ios(std::basic_streambuf<CharT, Traits>* sb); | (2) | |
(3) | ||
private: basic_ios(const basic_ios&); | (until C++11) | |
public: basic_ios(const basic_ios&)= delete; | (since C++11) | |
Constructs a newstd::basic_ios
object.
sb | - | stream buffer to associate to |
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR | Applied to | Behavior as published | Correct behavior |
---|---|---|---|
LWG 1249 | C++98 | internal state did not need to be initialized before first use | also needs to be initialized |