streambuf::sync Method
For output streams, flush any internally buffered data to the underlying medium.
virtual pplx::task<void> sync();
Return Value
true if the flush succeeds, false if not
Requirements
Header: astreambuf.h
Namespace: concurrency::streams