Commit 72ba8fd4 authored by David Golden's avatar David Golden
Browse files

CXX-1068 Fix incomplete bsoncxx iterator API

This commit rationalizes the bsoncxx iterator API for both
bsoncxx::document::view and bsoncxx::array::view:

* The non-const iterator implementation is removed; for both document::view
  and array::view, iterator is a type alias to const_iterator.
- begin(), cbegin(), end(), cend(), and find() always return
  a const_iterator.

This replaces and closes #555.
parent ed9e97b0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment