Forward declaration of basic_osyncstream.

Synopsis

Declared in <bslstl_osyncstream.h>

template<
    class CHAR_TYPE,
    class CHAR_TRAITS = char_traits<CHAR_TYPE>,
    class ALLOCATOR = allocator<CHAR_TYPE>>
class basic_osyncstream
    : public std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>

Base Classes

Name

Description

std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>

Template class basic_ostream.

Types

Name

Description

sentry

Performs setup work for output streams.

Type Aliases

Name

Description

allocator_type

Allocator type used by this stream.

char_type

Character type manipulated by this stream.

int_type

Integer type returned by stream operations.

off_type

Offset type used by the character traits.

pos_type

Position type used by the character traits.

streambuf_type

Stream buffer type wrapped by this stream's sync buffer.

syncbuf_type

Synchronized stream buffer type used by this output stream.

traits_type

Character traits type used by this stream.

Member Functions

Name

Description

basic_osyncstream [constructor]

Constructors

operator=

Move‐assign from the specified original.

emit

Atomically emit buffered characters to the wrapped stream.

get_allocator

Return the allocator used to supply memory.

get_wrapped

Return the wrapped buffer.

rdbuf

Return an address providing modifiable access to the basic_syncbuf object that is internally used by this stream object to buffer unformatted characters.

seekp

seekp overloads

operator<<

Left shift operators

Using Declarations

Name

Description

flush

Flush the stream buffer (inherited).

operator=

Assign from a base basic_ostream (inherited).

put

Insert a single character into the stream (inherited).

sentry

Prefixed output operations sentry type inherited from basic_ostream.

swap

Exchange this stream with another basic_ostream (inherited).

tellp

Return the current put position in the output sequence (inherited).

write

Write a block of characters to the stream (inherited).

Created with MrDocs