std::basic_filebuf<CharT,Traits>::sync
Min standard notice:
If a put area exists (e.g. the file was opened for writing), calls overflow() to write all pending output to the file, then flushes the file as if by calling std::fflush.
# Declarations
protected:
virtual int sync()
# Return value
0 in case of success, -1 in case of failure.
# Notes
sync() or its equivalent is implicitly called for output streams by close(), seekoff(), and seekpos() and explicitly called by std::basic_streambuf::pubsync()
# Example
This section is incompleteReason: no example