MongoDB C++ Driver mongocxx-3.11.0
|
#include <bsoncxx/v_noabi/bsoncxx/builder/stream/closed_context.hpp>
The closed_context, when used as a template parameter for array_context, value_context or key_context, indicates that the document cannot be closed further. This could indicate that the document is the root, or that the type stack has been intentionally erased, as is the case when using callbacks in the stream api.