[CXX-1830] Improve array::element API Created: 08/Oct/19  Updated: 07/Feb/24

Status: Backlog
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: internal-woes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: C++ Developer Experience Improvements

 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.


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