Skip to content

CXX-3160 Remove mongocxx::stdx #1248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 1, 2024
Merged

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
74 of 79 checks passed
@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