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

Provide a C++17 stdx type traits implementation

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: