[CXX-1832] Create umbrella headers to be easier to consume Created: 08/Oct/19  Updated: 07/Feb/24

Status: Backlog
Project: C++ Driver
Component/s: API
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: internal-woes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CXX usability improvements

 Description   

Perhaps add one mongocxx.h header that includes all other headers.



 Comments   
Comment by Ezra Chung [ 07/Feb/24 ]

rishabh.bisht@mongodb.com Negative, this is not resolved by CXX-2288. CXX-2288 provides "forward declarations" for bsoncxx and mongocxx classes as incomplete types (non-defining declarations) to allow their use by users in patterns such as the PIMPL idiom (aka compiler firewall idiom). This ticket is requesting the addition of an "include-everything" header, akin to <bson/bson.h> and mongoc/mongoc.h from the C Driver, that includes all public headers for the bsoncxx and mongocxx libraries respectively for convenience.

Comment by Rishabh Bisht [ 07/Feb/24 ]

I think this maybe resolved with CXX-2288. ezra.chung@mongodb.com Could you please confirm? Thanks! 

Generated at Wed Feb 07 22:04:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.