From fe691958cbf3397fb68087c1fad6cdf515330c48 Mon Sep 17 00:00:00 2001 From: Nora Reidy Date: Fri, 22 Nov 2024 14:17:43 -0500 Subject: [PATCH] DOCSP-45313: Remove mongocxx::stdx namespace (#83) * DOCSP-45313: Remove mongocxx::stdx namespace * MW feedback * EC feedback --- source/upgrade.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/upgrade.txt b/source/upgrade.txt index 2aab638e..2b1c5686 100644 --- a/source/upgrade.txt +++ b/source/upgrade.txt @@ -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 ` section. +- Removes the ``mongocxx::stdx`` namespace. Replace the following + types in your code: + + - ``mongocxx::stdx::optional``. Instead, use ``bsoncxx::stdx::optional``. + - ``mongocxx::stdx::string_view``. Instead, use ``bsoncxx::stdx::string_view``. + - Removes the following undocumented ``using`` directives and declarations: - ``bsoncxx::builder::types`` from the ```` header file.