protected:
basic_streambuf(); (1) protected:
basic_streambuf(const basic_streambuf& rhs); (2) (since C++11)
1) Constructs the basic_streambuf object, initializes the six pointer members (eback(), gptr(), egptr(), pbase(), pptr(), and epptr()) to null pointer values, and the locale member to std::locale(), a copy of the global C++ locale at the time of construction.
2) Constructs a copy of rhs, initializing the six pointers and the locale object with the copies of the values