bsl::basic_stringbuf::sync

Synchronizes the buffer arrays with the controlled sequences.

Synopsis

Declared in <bslstl_stringbuf.h>

virtual
int
sync();

Description

Each derived class provides its own appropriate behavior, including the definition of failure.

NOTE

Base class version does nothing, returns zero.

Return Value

-1 on failure.