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

Add '<<' operator overload to write SBE TypeTags and Values into str::stream

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • None
    • Fully Compatible
    • Query 2020-08-10, Query 2020-08-24

    Description

      Currently we can use '<<' operator to write into std::ostream. Quite often, we need to output a TypeTag into an uassert message, which uses std::stream. It would be useful to have another overload to support '<<' operator with str::stream.

      Attachments

        Activity

          People

            andrii.dobroshynskyi@mongodb.com Andrii Dobroshynskyi (Inactive)
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: