[CXX-1283] scoped_bson_t should simplify use case providing a pointer for initialization Created: 23/Mar/17  Updated: 11/Aug/17  Resolved: 07/Jun/17

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: New Feature Priority: Major - P3
Reporter: David Golden Assignee: Isabella Siu (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When default constructed, scoped_bson_t requires calling flag_init before calling bson to provide a pointer to pass to libmongoc functions. We should provide a new method called something like bson_for_init that can be used directly and internally calls flag_init.



 Comments   
Comment by Githook User [ 07/Jun/17 ]

Author:

{u'username': u'iwysiu', u'name': u'Isabella Siu', u'email': u'sakurablossom@blueblueworld.com'}

Message: CXX-1283 Add bson_for_init to directly provide a pointer for initialization
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/83a87f2049bf7183c4c65b7d73171fd8f7506b44

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