Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
A protected virtual function that tries to synchronize the controlled streams with any associated external streams.
virtual int sync( );
Return Value
If the function cannot succeed, it returns -1. The default behavior is to return zero.
Remarks
sync involves writing out any elements between the beginning and next pointers for the output buffer. It does not involve putting back any elements between the next and end pointers for the input buffer.
Requirements
Header: <streambuf>
Namespace: std