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

Provide a C++17 stdx type traits implementation

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • Internal Code
    • None

    Description

      C++14 offers nearly all of the compiler support required to support the full universe of C++17 type traits.

      In particular:

      • variable templates for values
        • is_pod<T>::value -> is_pod_v<T>
      • C++17 traits
        • void_t, is_(no)throw_swappable(_with), (con|dis)junction, negation, bool_constant, etc.

      These make template meta programs dramatically easier to read by reducing line noise.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-devtools DO NOT USE - Backlog - Dev Tools
              jason.carey@mongodb.com Jason Carey
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: