Skip to content

Commit

Permalink
DOCSP-45313: Remove mongocxx::stdx namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
norareidy committed Nov 22, 2024
1 parent 4eba4d9 commit 4ec88f0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions source/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ The v4.0 driver introduces the following breaking changes to the API:
library equivalents. For context, see the :ref:`Build System Breaking Changes
<version-4.0-build-system-breaking>` section.

- Removes the the ``mongocxx::stdx`` namespace. Replace the following
types in your code:

- ``mongocxx::stdx::optional<T>``. Instead, use ``bsoncxx::stdx::optional<T>``.
- ``mongocxx::stdx::string_view``. Instead, use ``bsoncxx::stdx::string_view``.

ABI Breaking Changes in v4.0
````````````````````````````

Expand All @@ -169,6 +175,12 @@ The v4.0 driver introduces the following breaking changes to the ABI:
library equivalents. For context, see the :ref:`Build System Breaking Changes
<version-4.0-build-system-breaking>` section.

- Removes the the ``mongocxx::stdx`` namespace. Replace the following
types in your code:

- ``mongocxx::stdx::optional<T>``. Instead, use ``bsoncxx::stdx::optional<T>``.
- ``mongocxx::stdx::string_view``. Instead, use ``bsoncxx::stdx::string_view``.

.. _version-3.11-breaking-changes:

Version 3.11
Expand Down

0 comments on commit 4ec88f0

Please sign in to comment.