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

QProperty does not accept Parameter list

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.0.0 Beta3
    • Core: Object Model
    • None
    • All

    Description

      I wanted to change parameters like:
      Range range_

      {0,1}

      into
      QProperty<Range> range_

      {0, 1}

      ;
      but this doesn't work, because you don't provide a variadic constructor with perfect forwarding:
      template <typename ... Args>
      QProperty(Args ...args) : QPropertyData<T>(std::forward<Args>(args)...){}

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            febbe Fabian Keßler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes