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

Improve array::element API

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      Perhaps make it more consistent with document::element. It privately inherits from document::element, and (I think) does not expose everything document::element does. (Also, why is there a distinction?).

      There is an artificial distinction between a bsoncxx::document::element and a bsoncxx::array::element with the latter missing some features of the former. This also makes it harder for code to just work with any bson element, regardless of what it is contained in.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: