async_istream::async_istream 构造函数

构造函数

template <
   typename AlterCharType
>
async_istream(
   streams::basic_istream<AlterCharType> astream
);

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

参数

  • AlterCharType
    streambuf 的基本元素的数据类型。

  • astream
    流缓冲区应用于 I/O 的异步流

  • strbuf
    用于 I/O 的异步流缓冲区

要求

**标头:**interopstream.h

**命名空间:**concurrency::streams

请参见

参考

async_istream 类