Compartilhar via


basic_streambuf::operator=

Assigns the values of this object from another basic_streambuf object.

basic_streambuf& operator=(
    const basic_streambuf& _Right
);

Parameters

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

Property Value/Return Value

Returns *this.

Remarks

The protected member operator copies from _Right the pointers that control the input buffer and the output buffer. It also stores _Right.getloc() in the locale object. It returns *this.

Requirements

Header: <streambuf>

Namespace: std

See Also

Reference

basic_streambuf Class

<streambuf>

iostream Programming

iostreams Conventions