public member function
<streambuf> <iostream>
std::basic_streambuf::basic_streambuf
| default (1) | protected:basic_streambuf(); |
|---|
| default (1) | protected:basic_streambuf(); |
|---|---|
| copy (2) | protected:basic_streambuf (const basic_streambuf& x); |
Construct object
locale()).The copy constructor (2) (C++11), copies the values of the internal pointers and the locale object of x.
By providing only protected constructors, the class cannot be instantiated into objects directly; Derived classes can call these constructors to initialize their basic_streambuf components.
Parameters
- x
- A basic_streambuf object of the same type (with the same class template parameters charT and traits), whose value is copied.
Exception safety
Strong guarantee: if an exception is thrown, there are no side effects.See also
- basic_streambuf::imbue
- Imbue locale (protected virtual member function)