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

Remove using and forward-declarations from collection.hpp

    XMLWordPrintable

    Details

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

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: