[CXX-1091] document::element::operator[] overloads throw when given an invalid element Created: 17/Oct/16 Updated: 17/Oct/16 Resolved: 17/Oct/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | J Rassi | Assignee: | Backlog - CXX Driver Team |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
bsoncxx::document::element::operator[] is documented as non-throwing, however the expression bsoncxx::document::element{}["foo"] throws. A fix for this issue was attempted in |
| Comments |
| Comment by J Rassi [ 17/Oct/16 ] |
|
Yep, closed as a duplicate. |
| Comment by David Golden [ 17/Oct/16 ] |
|
rassi, can I close this as a duplicate of |