Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1283

scoped_bson_t should simplify use case providing a pointer for initialization

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: