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 |
---|---|
Overloaded. Creates a container_buffer given a collection, copying its data into the buffer. |
Public Methods
Name |
Description |
---|---|
Remarks
This is a reference-counted version of basic_container_buffer.
Requirements
Header: containerstream.h
Namespace: concurrency::streams