[CQF] Strong alias for ProjectionNames and FieldNames

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2022-10-31, QO 2022-11-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently both projection names and variable names are aliases for std::string. This work introduces a strong string alias which achieves the following:

       

      1. Encapsulates the string value.
      2. Prevent construction, assignment and comparison of different aliases (e.g. we cannot assign a projection to a field name).
      3. Controls initialization from strings.
      4. Optionally disallows empty strings.

            Assignee:
            Svilen Mihaylov (Inactive)
            Reporter:
            Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: