MongoDB C++ Driver  mongocxx-3.10.2
All Classes Namespaces Functions Typedefs Enumerations Enumerator Friends Pages
closed_context.hpp
1 // Copyright 2014 MongoDB Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #pragma once
16 
17 #include <bsoncxx/builder/core-fwd.hpp>
18 #include <bsoncxx/builder/stream/closed_context-fwd.hpp>
19 
20 #include <bsoncxx/config/prelude.hpp>
21 
22 namespace bsoncxx {
23 namespace v_noabi {
24 namespace builder {
25 namespace stream {
26 
35  closed_context(core*) {}
36 };
37 
38 } // namespace stream
39 } // namespace builder
40 } // namespace v_noabi
41 } // namespace bsoncxx
42 
43 #include <bsoncxx/config/postlude.hpp>
A low-level interface for constructing BSON documents and arrays.
Definition: core.hpp:45
The top-level namespace for bsoncxx library entities.
Definition: element-fwd.hpp:19
The closed_context, when used as a template parameter for array_context, value_context or key_context...
Definition: closed_context.hpp:34