Skip to content

Commit 2642ed2

Browse files
authored
DOCSP-45312: Remove using directives/declarations (#79)
* DOCSP-45312: Remove using directives/declarations * EC feedback
1 parent 4eba4d9 commit 2642ed2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/upgrade.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,15 @@ 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 following undocumented ``using`` directives and declarations:
163+
164+
- ``bsoncxx::builder::types`` from the ``<bsoncxx/builder/list.hpp>`` header file.
165+
Instead, use ``bsoncxx::types`` from ``<bsoncxx/types.hpp>``.
166+
- ``bsoncxx::builder::stream::concatenate`` from the ``<bsoncxx/builder/stream/helpers.hpp>``
167+
header file. Instead, use ``bsoncxx::builder::concatenate`` from ``<bsoncxx/builder/concatenate.hpp>``.
168+
- ``mongocxx::events::read_preference`` from the ``<mongocxx/events/topology_description.hpp>``
169+
header file. Instead, use ``mongocxx::read_preference`` from ``<mongocxx/read_preference.hpp>``.
170+
162171
ABI Breaking Changes in v4.0
163172
````````````````````````````
164173

0 commit comments

Comments
 (0)