Partager via


basic_streambuf::pubsetbuf

Calls setbuf, a protected virtual function that is overridden in a derived class.

basic_streambuf<Elem, Tr> *pubsetbuf(
    char_type *_Buffer,
    streamsize _Count
);

Parameters

  • _Buffer
    A pointer to char_type for this instantiation.

  • _Count
    The size of the buffer.

Return Value

Returns setbuf(_Buffer, _Count).

Requirements

Header: <streambuf>

Namespace: std

See Also

Reference

basic_streambuf Class

iostream Programming

iostreams Conventions

Other Resources

basic_streambuf Members