Share via


container_buffer::container_buffer Constructor

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

container_buffer(
   _CollectionType data,
   std::ios_base::openmode mode = std::ios_base;

container_buffer(
   std::ios_base::openmode mode = std::ios_base:;

Parameters

  • data
    The collection that is the starting point for the buffer

  • mode
    The I/O mode that the buffer should use (in / out)

Requirements

Header: containerstream.h

Namespace: concurrency::streams

See Also

Reference

container_buffer Class