[#bsl-basic_osyncstream] = xref:bsl.adoc[bsl]::basic_osyncstream :relfileprefix: ../ :mrdocs: Forward declaration of `basic_osyncstream`. == Synopsis Declared in `<bslstl_osyncstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CHAR_TYPE, class CHAR_TRAITS = char_traits<CHAR_TYPE>, class ALLOCATOR = xref:bsl/allocator-0df.adoc[allocator<CHAR_TYPE>]> class basic_osyncstream : public std::basic_ostream<CHAR_TYPE, CHAR_TRAITS> ---- == Base Classes [cols="1,4"] |=== | Name| Description | `std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>` | Template class basic_ostream. |=== == Types [cols="1,4"] |=== | Name| Description | xref:bsl/basic_osyncstream/sentry-07.adoc[`sentry`] | Performs setup work for output streams. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/basic_osyncstream/allocator_type.adoc[`allocator_type`] | Allocator type used by this stream. | xref:bsl/basic_osyncstream/char_type.adoc[`char_type`] | Character type manipulated by this stream. | xref:bsl/basic_osyncstream/int_type.adoc[`int_type`] | Integer type returned by stream operations. | xref:bsl/basic_osyncstream/off_type.adoc[`off_type`] | Offset type used by the character traits. | xref:bsl/basic_osyncstream/pos_type.adoc[`pos_type`] | Position type used by the character traits. | xref:bsl/basic_osyncstream/streambuf_type.adoc[`streambuf_type`] | Stream buffer type wrapped by this stream's sync buffer. | xref:bsl/basic_osyncstream/syncbuf_type.adoc[`syncbuf_type`] | Synchronized stream buffer type used by this output stream. | xref:bsl/basic_osyncstream/traits_type.adoc[`traits_type`] | Character traits type used by this stream. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/basic_osyncstream/2constructor-08.adoc[`basic_osyncstream`] [.small]#[constructor]# | Constructors | xref:bsl/basic_osyncstream/operator_assign.adoc[`operator=`] | Move‐assign from the specified `original`. | xref:bsl/basic_osyncstream/emit.adoc[`emit`] | Atomically emit buffered characters to the wrapped stream. | xref:bsl/basic_osyncstream/get_allocator.adoc[`get_allocator`] | Return the allocator used to supply memory. | xref:bsl/basic_osyncstream/get_wrapped.adoc[`get_wrapped`] | Return the wrapped buffer. | xref:bsl/basic_osyncstream/rdbuf.adoc[`rdbuf`] | Return an address providing modifiable access to the `basic_syncbuf` object that is internally used by this stream object to buffer unformatted characters. | xref:bsl/basic_osyncstream/seekp-06.adoc[`seekp`] | `seekp` overloads | xref:bsl/basic_osyncstream/operator_lshift-0cb.adoc[`operator<<`] | Left shift operators |=== == Using Declarations [cols="1,4"] |=== | Name| Description | xref:bsl/basic_osyncstream/flush.adoc[`flush`] | Flush the stream buffer (inherited). | xref:bsl/basic_osyncstream/operator=.adoc[`operator=`] | Assign from a base `basic_ostream` (inherited). | xref:bsl/basic_osyncstream/put.adoc[`put`] | Insert a single character into the stream (inherited). | xref:bsl/basic_osyncstream/sentry-06.adoc[`sentry`] | Prefixed output operations sentry type inherited from `basic_ostream`. | xref:bsl/basic_osyncstream/swap.adoc[`swap`] | Exchange this stream with another `basic_ostream` (inherited). | xref:bsl/basic_osyncstream/tellp.adoc[`tellp`] | Return the current put position in the output sequence (inherited). | xref:bsl/basic_osyncstream/write.adoc[`write`] | Write a block of characters to the stream (inherited). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#