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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.6
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Platforms 2018-04-23

      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.

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

              Created:
              Updated:
              Resolved: