diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2023-05-20 08:37:03 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2023-06-11 15:43:01 -0700 |
| commit | 95e6fac0a5a1eee3aa23e4da0a93c6c25e32fb98 (patch) | |
| tree | ecbd4969422022abeb76d0d9412d32001a765fa3 /tests/auto/concurrent/qtconcurrenttask/tst_qtconcurrenttask.cpp | |
| parent | 631901f6d1da84ded3528d26f00ea5fa3bfbf6a2 (diff) | |
Short-live qIsConstantEvaluated()
This is not q20::is_constant_evaluated() because it does not replace
that for all compilers. Instead, it's our own version of it that may
return false even in constant contexts. However, for the majority of our
users, it will work even in C++17 mode.
Updated QStringView and QAnyStringView to use it, which are the only two
places in all of Qt that used std::is_constant_evaluated().
Change-Id: Ieab617d69f3b4b54ab30fffd175c50c517589226
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/concurrent/qtconcurrenttask/tst_qtconcurrenttask.cpp')
0 files changed, 0 insertions, 0 deletions
