-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: BSON
-
None
The default constructor and move are intentionally not implemented because we do not wish to have a moved-from state for values. These should be removed from the header.
For containers that require a default constructible type, one workaround is to use stdx::optional, e.g.
std::map<char,stdx::optional<bsoncxx::types::value>>