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

Add TS2's std::is_detected etc API to stdx

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service arch 2020-11-02

      It's a pre-standard API. This is what stdx is for.
      It would be useful for simplifying decltype-based traits in logv2 and elsewhere.
      I needed it for ASSERT_THAT during Skunkworks, so I might as well bring it into stdx.

      https://en.cppreference.com/w/cpp/experimental/is_detected

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: