Compartilhar via


basic_streambuf::basic_streambuf

Constructs an object of type basic_streambuf.

basic_streambuf( );
basic_streambuf(const basic_streambuf& _Right);

Parameters

  • _Right
    An lvalue reference to the basic_streambuf object that is used to set the values for this basic_streambuf object.

Remarks

The first protected constructor stores a null pointer in all pointers controlling the input buffer and the output buffer. It also stores locale::classic in the locale object. For more information, see locale::classic.

The second protected constructor copies the pointers and locale from _Right.

Requirements

Header: <streambuf>

Namespace: std

See Also

Reference

basic_streambuf Class

iostream Programming

iostreams Conventions