Remove StringData <=> std::string_view implicit conversions

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service Arch 2021-03-22
    • 161
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: