diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-05-23 16:43:03 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-06-02 12:54:55 +0200 |
commit | 4042596b72520878c6d418bac8f6fdd121c33520 (patch) | |
tree | 6babaac9795f6027f382afd96fc109a342b38189 /src/corelib/global/qxpfunctional.h | |
parent | acfcd1e61fffada52fc4ffbeb62449643fb3a41e (diff) |
Short live q23::invoke_r!
Add an implementation of C++23's std::invoke_r. Will need it in our
implementation of function_ref.
Differences to std::invoke_r:
- only constexpr in C++20, not in C++17 (to fix, we'd need to
implement our own q20::invoke just to add the constexpr keyword;
let's first see whether we need this).
Task-number: QTBUG-103739
Change-Id: Id864f83f27ed499849b6bde0c34353127e37e7ed
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/corelib/global/qxpfunctional.h')
0 files changed, 0 insertions, 0 deletions