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

Prelude headers applied incorrectly

      The documentation at https://github.com/mongodb/mongo-cxx-driver/blob/master/CONTRIBUTING.md#headers incorrectly states that the `prelude` header should come before the driver headers. That is mistaken. The order should look like:

      #pragma once
      
      #include <vector>
      
      #include <driver/blah.hpp>
      
      #include <driver/config/prelude.hpp>
      

      The codebase should also be audited and aligned with this ordering.

            Assignee:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: