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

Preprocessor symbol for maximal number of arguments

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 5.0.2
    • Core: Object Model
    • None

    Description

      QMetaMethod::invoke (and related) overloads take up to 10 arguments.

      But that seems to be nowhere specified as a const/enum value or as a preprocessor symbol. While having such a symbol would be useful when writing some generic code.

      Sure, I can make a @#define myself but it seems far more natural place for such is the Qt library itself. In sources it seems to use alike solutions. So why no make it public?

      Attachments

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

        Activity

          People

            tucnak Ilya Kowalewski
            adambadura Adam Badura
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes