diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-09-20 21:30:10 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-09-21 22:05:06 +0200 |
| commit | 64c50224b95591fc62f43d97debb515e7f415796 (patch) | |
| tree | d6cc6611dd9ec50152dcc133dca781ce676e0f7f /src/corelib/tools/qcommandlineparser.cpp | |
| parent | 9d70118c661cb370c9e8b68ad24b804fc7d69a8f (diff) | |
Port qSwap()'s exception detection to C++17 std::is_nothrow_swappable
It's been available since C++17, and since we compile the trait
anyway, using it will probably speed up instantiation of qSwap()
(didn't test, just guesstimating).
Change-Id: If77ca71a8021a73edf4864bdd9e5fce517dcabb1
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions
