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

Remove/update util/concepts.h macros after C++20

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Service Arch
    • Fully Compatible
    • Service Arch 2023-05-15, Service Arch 2023-05-29

      The macros in util/concepts.h were meant as transitional tools smooth over template restrictions until c++20 support was made available.

      Once we're onto C++20, we should replace the template/requires macros and re-evaluate the necessity of the REQUIRES_OUT_OF_LINE_DEF and REQURES_FOR_NON_TEMPLATE.

      We should also think about prefixing any macros we retain, as mentioned in SERVER-47912

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: