Add fmt::formatter<mongo::HostAndPort>

XMLWordPrintableJSON

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

      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
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: