producer_consumer_buffer Class

The producer_consumer_buffer class serves as a memory-based steam buffer that supports both writing and reading sequences of bytes. It can be used as a consumer/producer buffer.

template<
   typename _CharType
>
class producer_consumer_buffer : public streambuf<_CharType>;

_CharType

The data type of the basic element of the producer_consumer_buffer.

Name

Description

char_type

This is a reference-counted version of basic_producer_consumer_buffer.

Header: producerconsumerstream.h

Namespace: concurrency::streams

Show: