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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 7.1.0-rc0
    • Internal Code
    • None
    • Service Arch
    • Fully Compatible
    • Service Arch 2023-05-15, Service Arch 2023-05-29

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              billy.donahue@mongodb.com Billy Donahue
              jason.carey@mongodb.com Jason Carey
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: