• Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Portability
    • None
    • Fully Compatible

      ostream << std::setw(5) << expr

      behaves differently depending on whether expr is a std::string or a StringData.

      libc++'s operator<<(ostream, string_view) is complex, but accessible for reuse.
      https://github.com/llvm-mirror/libcxx/blob/0f25cd9/include/ostream#L714

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: