Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72889

Add toValue<t>() to QString

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12.0
    • None
    • All

      Please add a template conversion method "toValue<T>(bool* ok)" to QString. That method should do the same as the existing toXXX() methods but based on the given template type.

      This function would be helpful in modern templated code and would help maintain code that converts string to types with aliases.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            silicomancer Bernhard Lindner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes