std::basic_osyncstream<CharT,Traits,Allocator>::get_wrapped (3) - Linux Manuals
std::basic_osyncstream<CharT,Traits,Allocator>::get_wrapped: std::basic_osyncstream<CharT,Traits,Allocator>::get_wrapped
NAME
std::basic_osyncstream<CharT,Traits,Allocator>::get_wrapped - std::basic_osyncstream<CharT,Traits,Allocator>::get_wrapped
Synopsis
streambuf_type* get_wrapped() const noexcept;
Returns a pointer to the wrapped std::basic_streambuf, obtained by calling get_wrapped() on the underlying std::basic_syncbuf.
Parameters
(none)
Example
wrapped buffer can be safely wrapped again in a different synchronized output stream
// Run this code
Output:
See also
destructor (public member function)
get_wrapped (public member function of std::basic_syncbuf<CharT,Traits,Allocator>)