Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1539

Remove using and forward-declarations from collection.hpp

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0
    • Affects Version/s: 3.3.0-rc0
    • Component/s: Implementation
    • Labels:

      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.

            Assignee:
            spencer.mckenney Spencer Mckenney
            Reporter:
            ryan.timmons@mongodb.com Ryan Timmons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: