[CXX-1539] Remove using and forward-declarations from collection.hpp Created: 28/Mar/18  Updated: 28/Oct/23  Resolved: 22/Jun/18

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: 3.3.0-rc0
Fix Version/s: 3.4.0

Type: Task Priority: Major - P3
Reporter: Ryan Timmons Assignee: Spencer Mckenney
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

From CR
https://mongodbcr.appspot.com/188860002/diff/1/src/mongocxx/collection.hpp#newcode66

At head of file:

  • Remove using typedefs (using bsoncxx::builder::basic::make_document etc)
  • Ensure class client and class database need to be forward-declared; remove if not. If included header shouldn't be necessary.


 Comments   
Comment by Githook User [ 22/Jun/18 ]

Author:

{'username': 'spencemc', 'name': 'Spencer McKenney', 'email': 'spencermck@me.com'}

Message: CXX-1539 remove using from collection header
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/6ef03338ed02a92ea6f042e67974883137281f8a

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