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

Remove StringData <=> std::string_view implicit conversions

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Service Arch 2021-03-22
    • 161

    Description

      As an incidental change in SERVER-53399, the author added implicit conversions in both directions between StringData and std::string_view. Use of std::string_view is not generally allowed in the mongodb codebase, and this change has important API consequences that should be further considered. If nothing else, tests of the functionality would be needed if we keep it.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: