[CXX-1280] Basic builders are not copyable or movable Created: 22/Mar/17  Updated: 11/Aug/17  Resolved: 07/Jun/17

Status: Closed
Project: C++ Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Samuel Rossi (Inactive) Assignee: Patrick Freed
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently, the basic builders (bsoncxx::builder::basic::document and bsoncxx::builder::basic::array) are neither copyable or movable. We should determine if this is intentional, and if not, implement the necessary functionality to move and copy them.



 Comments   
Comment by Githook User [ 07/Jun/17 ]

Author:

{u'name': u'Patrick Freed', u'email': u'patrick.freed@mongodb.com'}

Message: CXX-1280 Add move semantics to basic document and array builders

This does not implement copy constructors and assignment operators due to some fields of core being explicitly non-copyable.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/75eba788d530ca4f8b5804e9fd80e38b656d9bcd

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