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>;

Parameters

  • _CharType
    The data type of the basic element of the producer_consumer_buffer.

Members

Public Typedefs

Name

Description

char_type

Public Constructors

Name

Description

producer_consumer_buffer::producer_consumer_buffer Constructor

Create a producer_consumer_buffer.

Remarks

This is a reference-counted version of basic_producer_consumer_buffer.

Requirements

Header: producerconsumerstream.h

Namespace: concurrency::streams

See Also

Reference

concurrency::streams Namespace