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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.12
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Repl 2016-09-19

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: