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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Service arch 2020-11-02

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: