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

Add fmt::formatter<mongo::HostAndPort>

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Dev Tools 2019-04-22

      Allows HostAndPort to be formatted with libfmt, without a toString, etc.
      e.g.:

          s = "couldn't connect to host {}: {}"_format(host, errorMessage);
      

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

              Created:
              Updated:
              Resolved: