Compartilhar via


container_buffer Class

The basic_container_buffer class serves as a memory-based steam buffer that supports writing or reading sequences of characters. Note that it cannot be used as a consumer producer buffer.

template<
   typename _CollectionType
>
class container_buffer : public streambuf<typename _CollectionType::value_type>;

Parameters

  • _CollectionType
    The type of the container.

Members

Public Typedefs

Name

Description

char_type

Public Constructors

Name

Description

container_buffer::container_buffer Constructor

Overloaded. Creates a container_buffer given a collection, copying its data into the buffer.

Public Methods

Name

Description

container_buffer::collection Method

Remarks

This is a reference-counted version of basic_container_buffer.

Requirements

Header: containerstream.h

Namespace: concurrency::streams

See Also

Reference

concurrency::streams Namespace