Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81394

replace `invariant` etc uses of boost/preprocessor

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2023-10-02

      These are very simple dispatches among small argument counts ( <= 4 ) and can be implemented easily inline instead of bringing in a boost dependency.

      Since invariant and assert utils are used so widely this should be a beneficial change.
      We were also seeing IWYU getting confused (SERVER-81059) by it and wanting to include a deep preprocessor iif.hpp in every file and this should eliminate that.

        There are no Sub-Tasks for this issue.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: