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

Improve array::element API

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      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.

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

              Created:
              Updated: