{"action":"created","issue":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/394","labels_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/394/comments","events_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/394/events","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/394","id":121334463,"number":394,"title":"CXX-762 - Implement bsoncxx::v0::types::value::value()","user":{"login":"tessavitabile","id":13758212,"avatar_url":"https://avatars.githubusercontent.com/u/13758212?v=3","gravatar_id":"","url":"https://api.github.com/users/tessavitabile","html_url":"https://github.com/tessavitabile","followers_url":"https://api.github.com/users/tessavitabile/followers","following_url":"https://api.github.com/users/tessavitabile/following{/other_user}","gists_url":"https://api.github.com/users/tessavitabile/gists{/gist_id}","starred_url":"https://api.github.com/users/tessavitabile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tessavitabile/subscriptions","organizations_url":"https://api.github.com/users/tessavitabile/orgs","repos_url":"https://api.github.com/users/tessavitabile/repos","events_url":"https://api.github.com/users/tessavitabile/events{/privacy}","received_events_url":"https://api.github.com/users/tessavitabile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-09T20:42:07Z","updated_at":"2015-12-10T18:44:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/394","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/394","diff_url":"https://github.com/mongodb/mongo-cxx-driver/pull/394.diff","patch_url":"https://github.com/mongodb/mongo-cxx-driver/pull/394.patch"},"body":"This PR is to try having _type in value be an optional bsoncxx::type instead of an int."},"comment":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/comments/163713867","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/394#issuecomment-163713867","issue_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/394","id":163713867,"user":{"login":"acmorrow","id":268253,"avatar_url":"https://avatars.githubusercontent.com/u/268253?v=3","gravatar_id":"","url":"https://api.github.com/users/acmorrow","html_url":"https://github.com/acmorrow","followers_url":"https://api.github.com/users/acmorrow/followers","following_url":"https://api.github.com/users/acmorrow/following{/other_user}","gists_url":"https://api.github.com/users/acmorrow/gists{/gist_id}","starred_url":"https://api.github.com/users/acmorrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmorrow/subscriptions","organizations_url":"https://api.github.com/users/acmorrow/orgs","repos_url":"https://api.github.com/users/acmorrow/repos","events_url":"https://api.github.com/users/acmorrow/events{/privacy}","received_events_url":"https://api.github.com/users/acmorrow/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T18:44:24Z","updated_at":"2015-12-10T18:44:24Z","body":"So, for associative contains, the mapped_type only needs to be DefaultConstructible to support `operator[]`.\r\n\r\nMaybe the right answer is to not do this at all?\r\n\r\nThat said, having reviewed this class more closely, I think we need to audit its original implementation for correctness, noexcept, etc."}}