FixedString cannot compare with string literals without explicit type conversions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Make it possible to compare a FixedString to a string literal without explicit type conversions. Also consider taking the opportunity to simplify and consolidate the comparison operator definitions for FixedString. These were written for C++17 before the compiler was capable of reordering operands to find more potential type conversions. Now that we're more fully on C++20, we could, for example, define them as member functions.

            Assignee:
            Unassigned
            Reporter:
            James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: