Skip to content

Commit fe69195

Browse files
authored
DOCSP-45313: Remove mongocxx::stdx namespace (#83)
* DOCSP-45313: Remove mongocxx::stdx namespace * MW feedback * EC feedback
1 parent 2642ed2 commit fe69195

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/upgrade.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@ The v4.0 driver introduces the following breaking changes to the API:
159159
library equivalents. For context, see the :ref:`Build System Breaking Changes
160160
<version-4.0-build-system-breaking>` section.
161161

162+
- Removes the ``mongocxx::stdx`` namespace. Replace the following
163+
types in your code:
164+
165+
- ``mongocxx::stdx::optional<T>``. Instead, use ``bsoncxx::stdx::optional<T>``.
166+
- ``mongocxx::stdx::string_view``. Instead, use ``bsoncxx::stdx::string_view``.
167+
162168
- Removes the following undocumented ``using`` directives and declarations:
163169

164170
- ``bsoncxx::builder::types`` from the ``<bsoncxx/builder/list.hpp>`` header file.

0 commit comments

Comments
 (0)