![]() |
Mangrove
The C++ Object Document Mapper for MongoDB
|
An istream that uses a BSON document as a buffer. More...
#include <bson_streambuf.hpp>
An istream that uses a BSON document as a buffer.
While objects of this class do not own the underlying buffer, they do own the streambuf object associated with it.
By default, istream objects do not delete their streambuffers when they are destroyed, so this class allows one to create a stream without dealing with the underlying streambuf object.