std::basic_syncbuf<CharT,Traits,Allocator>::sync
Min standard notice:
First, records that a flush is pending, by updating the appropriate private flag.
# Declarations
protected:
int sync() override;
# Notes
sync() or its equivalent is implicitly called by close(), seekoff(), and seekpos() and explicitly called by std::basic_streambuf::pubsync()
# Example
This section is incompleteReason: no example