共用方式為


async_ostream::async_ostream Constructor

Constructor

template <
   typename AlterCharType
>
async_ostream(
   streams::basic_ostream<AlterCharType> astream
);

template <
   typename AlterCharType
>
async_ostream(
   streams::streambuf<AlterCharType> strbuf
);

Parameters

  • AlterCharType
    The data type of the basic element of the source streambuf.

  • astream
    The asynchronous stream whose stream buffer should be used for I/O

  • strbuf
    The asynchronous stream buffer to use for I/O

Requirements

Header: interopstream.h

Namespace: concurrency::streams

See Also

Reference

async_ostream Class