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

Fail to compile if io manipulators like std::hex are passed to StringBuilder/str::stream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.7.6
    • Internal Code
    • None
    • Fully Compatible
    • Platforms 2018-04-23

    Description

      Currently they implicitly decay to bool and append '1' to the stream. This causes a very confusing warning in compilers newer than our official toolchain.

      Attachments

        Issue Links

          Activity

            People

              mathias@mongodb.com Mathias Stearn
              mathias@mongodb.com Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: