Request the wrapped streambuf flush on the next emit call, then call emit if the "emit‐on‐sync" flag is true. Return 0 on success and ‐1 if the emit call has failed.

Synopsis

Declared in <bslstl_syncbuf.h>

int
sync() override;

Created with MrDocs