Compartir a través de


stdio_ostream Class

stdio_ostream represents an async ostream derived from a standard synchronous stream, as defined by the "std" namespace. It is constructed from a reference to a standard stream, which must be valid for the lifetime of the asynchronous stream.

template<
   typename CharType
>
class stdio_ostream : public basic_ostream<CharType>;

Parameters

  • CharType
    The data type of the basic element of the stdio_ostream.

Members

Public Constructors

Name

Description

stdio_ostream::stdio_ostream Constructor

Overloaded. Constructor

Public Operators

Name

Description

stdio_ostream::operator= Operator

Assignment operator

Remarks

Since std streams are not reference-counted, great care must be taken by an application to make sure that the std stream does not get destroyed until all uses of the asynchronous stream are done and have been serviced.

Requirements

Header: interopstream.h

Namespace: concurrency::streams

See Also

Reference

concurrency::streams Namespace