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

Remove StringData <=> std::string_view implicit conversions

    • 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 2021-03-22
    • 161

      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.

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

              Created:
              Updated:
              Resolved: