[CXX-966] Make bsoncxx::types::b_ types default constructible Created: 06/Jul/16  Updated: 19/Aug/16  Resolved: 19/Aug/16

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Adam Chelminski (Inactive) Assignee: Adam Chelminski (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently, all of the bsoncxx::types::b_ types are default constructible except b_utf8, b_date, b_regex, b_code, b_codewscope, and b_symbol.

If these were made default constructible, it would be useful in the context of the CXXODM project as well as make the behavior of these types consistent with each other.



 Comments   
Comment by Andrew Morrow (Inactive) [ 19/Aug/16 ]

We have decided not to change this now. We are going to investigate an overhaul of the b_ types in 3.1.

Comment by Andrew Morrow (Inactive) [ 13/Jul/16 ]

Code review: https://github.com/mongodb/mongo-cxx-driver/pull/505

Comment by David Golden [ 06/Jul/16 ]

I agree that consistency makes a lot of sense. We'll look at it as part of the 3.1 cycle.

Generated at Wed Feb 07 22:00:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.