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

scoped_bson_t should simplify use case providing a pointer for initialization

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: API
    • Labels:
    • Story Points:
      1

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: