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

Add methods to StringBuilder/str::stream that return unowned copy of underlying string

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.12
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • Repl 2016-09-19

      It would be convenient to pass an object of type str::stream into a function that takes a parameter of type StringData, without having to incur the performance/typing overhead of constructing a temporary std::string.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: