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 new basic_ios object.
init() must be called before the first use of the object or before destructor, otherwise the behavior is undefined.init(sb). The associated stream buffer is set to sb. | sb | - | stream buffer to associate to |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/io/basic_ios/basic_ios