std::basic_istream<CharT,Traits>::sync
From cppreference.com
Template:cpp/io/basic istream/sidebar
int sync(); |
||
Fills the input cache buffer with data from the underlying input device.
Template:params Template:param none
If the stream is buffered and the function is successful, Template:cpp is returned. If the stream is unbuffered, Template:cpp is returned. In the case of error, Template:cpp is called and depending on exceptions bitmask, exception is thrown.
This section is incomplete Reason: no example |