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

Add toValue<t>() to QString

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes