共用方式為


stdio_istream Class

stdio_istream represents an async istream 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_istream : public basic_istream<CharType>;

Parameters

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

Members

Public Constructors

Name

Description

stdio_istream::stdio_istream Constructor

Overloaded. Constructor

Public Operators

Name

Description

stdio_istream::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