MongoDB C++ Driver  mongocxx-3.0.3
postlude.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 // compiler.hpp
16 #undef BSONCXX_INLINE
17 #pragma pop_macro("BSONCXX_INLINE")
18 #if defined(_MSC_VER)
19 #pragma warning(pop)
20 #endif
21 #undef BSONCXX_CALL
22 #pragma pop_macro("BSONCXX_CALL")
23 
24 // src/bsoncxx/config/config.hpp.in
25 #undef BSONCXX_INLINE_NAMESPACE_BEGIN
26 #pragma pop_macro("BSONCXX_INLINE_NAMESPACE_BEGIN")
27 #undef BSONCXX_INLINE_NAMESPACE_END
28 #pragma pop_macro("BSONCXX_INLINE_NAMESPACE_END")
29 #undef BSONCXX_POLY_USE_MNMLSTC
30 #pragma pop_macro("BSONCXX_POLY_USE_MNMLSTC")
31 #undef BSONCXX_POLY_USE_STD_EXPERIMENTAL
32 #pragma pop_macro("BSONCXX_POLY_USE_STD_EXPERIMENTAL")
33 #undef BSONCXX_POLY_USE_SYSTEM_MNMLSTC
34 #pragma pop_macro("BSONCXX_POLY_USE_SYSTEM_MNMLSTC")
35 #undef BSONCXX_POLY_USE_BOOST
36 #pragma pop_macro("BSONCXX_POLY_USE_BOOST")
37 
38 // src/bsoncxx/config/version.hpp.in
39 #undef BSONCXX_VERSION_EXTRA
40 #pragma pop_macro("BSONCXX_VERSION_EXTRA")
41 #undef BSONCXX_VERSION_MAJOR
42 #pragma pop_macro("BSONCXX_VERSION_MAJOR")
43 #undef BSONCXX_VERSION_MINOR
44 #pragma pop_macro("BSONCXX_VERSION_MINOR")
45 #undef BSONCXX_VERSION_PATCH
46 #pragma pop_macro("BSONCXX_VERSION_PATCH")
47 
48 // src/bsoncxx/types.hpp
49 #ifdef BSONCXX_ENUM
50 static_assert(false, "BSONCXX_ENUM must be undef'ed");
51 #endif
52 #pragma pop_macro("BSONCXX_ENUM")
53 
54 // export.hpp (generated by cmake)
55 #undef BSONCXX_API_H
56 #pragma pop_macro("BSONCXX_API_H")
57 #undef BSONCXX_API
58 #pragma pop_macro("BSONCXX_API")
59 #undef BSONCXX_PRIVATE
60 #pragma pop_macro("BSONCXX_PRIVATE")
61 #undef BSONCXX_DEPRECATED
62 #pragma pop_macro("BSONCXX_DEPRECATED")
63 #undef BSONCXX_DEPRECATED_EXPORT
64 #pragma pop_macro("BSONCXX_DEPRECATED_EXPORT")
65 #undef BSONCXX_DEPRECATED_NO_EXPORT
66 #pragma pop_macro("BSONCXX_DEPRECATED_NO_EXPORT")
67 #undef DEFINE_NO_DEPRECATED
68 #pragma pop_macro("DEFINE_NO_DEPRECATED")
69 #undef BSONCXX_NO_DEPRECATED
70 #pragma pop_macro("BSONCXX_NO_DEPRECATED")
71 
72 // prelude.hpp
73 #undef BSONCXX_UNREACHABLE
74 #pragma pop_macro("BSONCXX_UNREACHABLE")