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

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

XMLWordPrintable

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

      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).

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes