共用方式為


async_ostream::async_ostream 建構函式

建構函式

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

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

參數

  • AlterCharType
    streambuf 來源的基本元素的資料類型。

  • astream
    非同步資料流,其資料流緩衝區應該用於 I/O

  • strbuf
    要用於 I/O 的非同步資料流緩衝區

需求

**標頭:**interopstream.h

**命名空間:**concurrency::streams

請參閱

參考

async_ostream 類別