The get_wrapped Function
Understand the use of the 'get_wrapped' function with an example.
We'll cover the following...
We'll cover the following...
std::basic_osyncstream syncStream offers two interesting member functions:
syncStream.emit()emits all buffered output and executes all pending flushes.syncStream.get_wrapped()returns a pointer to the wrapped buffer.
cppreference.com shows how you can sequence the output of different output streams with the get_wrapped member function.