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

Prelude headers applied incorrectly

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            benji.rewis Benji Rewis
            Reporter:
            acm Andrew Morrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: