共用方式為


streambuf::streambuf Constructor

Constructor.

streambuf(
   _In_ const std::shared_ptr<details::basic_streambuf<_CharType>> &ptr
);

streambuf();

streambuf(
   const streambuf &other
);

template <
   typename AlterCharType
>
streambuf(
   const streambuf<AlterCharType> &other
);

streambuf(
   streambuf &&other
);

Parameters

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

  • ptr
    A pointer to the concrete stream buffer implementation.

  • other
    The source object.

Requirements

Header: astreambuf.h

Namespace: concurrency::streams

See Also

Reference

streambuf Class