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

Add comparison operators for StringData and const char[]

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I frequently find myself declaring const char[] constants and then comparing them to StringData instances - it would be more convenient if this was actually supported instead of having to construct a temporary StringData.

            Assignee:
            Unassigned Unassigned
            Reporter:
            adam.midvidy Adam Midvidy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: