[CXX-1841] Document if types should be passed by reference or value Created: 08/Oct/19  Updated: 07/Feb/24

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

Type: Improvement Priority: Major - P3
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: internal-woes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Reference Docs Improvements

 Description   

should I have and pass mongocxx::collection by value or ref? Similar for most other types. Intended ownership model is hard. Maybe it’s safest to always just use value but it’s not clear what the “cost” is to copy and the instinct is to pass by ref wherever possible


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