[CXX-988] Fix documentation of invalid element access Created: 10/Aug/16  Updated: 19/Sep/16  Resolved: 10/Sep/16

Status: Closed
Project: C++ Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 3.0.2

Type: Bug Priority: Major - P3
Reporter: David Golden Assignee: David Golden
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-916 Documented exceptions are incorrect Closed

 Description   

CXX-862 changed bsoncxx::document::element::operator[] to return an invalid element instead of throwing an exception, but the documentation in element.hpp was never changed.



 Comments   
Comment by Githook User [ 10/Sep/16 ]

Author:

{u'username': u'xdg', u'name': u'David Golden', u'email': u'xdg@xdg.me'}

Message: CXX-988 Fix documentation of element::operator[]

It does not throw for invalid element access.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/6df683c983a1f1e671ab39db3254412ba067a4c8

Comment by David Golden [ 02/Sep/16 ]

https://github.com/mongodb/mongo-cxx-driver/pull/522

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