replace `invariant` etc uses of boost/preprocessor

XMLWordPrintableJSON

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

      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.

              Assignee:
              Billy Donahue
              Reporter:
              Billy Donahue
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: