Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
Description
Then we could write for (auto&& [k, v] : someBsonObj) like you can for other kv-pair maps in C++. It is slightly weird that the second element of a BSONElement is the element itself, but I think it would work nicely in practice.