Skip to content

Commit

Permalink
DOCSP-45313: Remove mongocxx::stdx namespace (#83)
Browse files Browse the repository at this point in the history
* DOCSP-45313: Remove mongocxx::stdx namespace

* MW feedback

* EC feedback
  • Loading branch information
norareidy authored Nov 22, 2024
1 parent 2642ed2 commit fe69195
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 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 ``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``.

- Removes the following undocumented ``using`` directives and declarations:

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

0 comments on commit fe69195

Please sign in to comment.