std::basic_ios::basic_ios
性病:基本[医]IOS::基本[医]IOS
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) |
构造新basic_ios
对象。
1%29默认构造函数。内部状态未初始化。init()
必须在第一次使用对象之前或析构函数之前调用,否则行为未定义。
2%29通过调用init(sb)
关联的流缓冲区设置为sb
...
3%29复制构造函数被声明。private:
直到C++11才定义,并且在C++11中声明为已删除:I/O流是不定义的CopyConstructible
...
参数
sb | - | stream buffer to associate to |
---|
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。