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

[QRestAM] Use qxp::function_ref instead of <Functor> in private API

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.8.0 FF
    • 6.7.0 Beta2
    • Network: HTTP
    • None

    Description

      The QRestAccessManager private code uses templates to take in an encapsulating function.

      This task is about replacing these with qxp::function_ref. Broadly speaking, as a non-owning function ref, it has severel advantages. But in this particular class I think the main benefit will be readability (and in future possibly also type safety and performance, depending on how the usage evolves).

      Attachments

        For Gerrit Dashboard: QTBUG-122018
        # Subject Branch Project Status CR V

        Activity

          People

            vuokko Juha Vuolle
            vuokko Juha Vuolle
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes