Skip to content

Conversation

@eramongodb
Copy link
Contributor

Resolves CXX-3160. Verified by this patch.

The redeclaration of bsoncxx::stdx as mongocxx::stdx has caused ambiguities, confusion, and difficulties using stdx interfaces when both bsoncxx and mongocxx are present (e.g. CXX-1060). It is unclear what the original motivation for this pattern is (CXX-716), but given its dubious value and recurring troubles, this PR proposes to remove the namespace in v4 in favor of consistently using bsoncxx::stdx instead.

Note

The 3.11.0 release documented the mongocxx/stdx.hpp header as "for internal use only" in #1184.

@eramongodb eramongodb requested a review from kevinAlbs November 1, 2024 18:52
@eramongodb eramongodb self-assigned this Nov 1, 2024
@eramongodb eramongodb requested a review from kevinAlbs November 1, 2024 19:29
@eramongodb eramongodb merged commit 7253596 into mongodb:master Nov 1, 2024
@eramongodb eramongodb deleted the cxx-3160 branch November 1, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants