Replace template conditionals with C++20 `requires` clause
commit5c06d0aa75976fe9a1aedf14f44e11d8afe11443
authorChocobo1 <Chocobo1@users.noreply.github.com>
Wed, 9 Aug 2023 12:33:19 +0000 (9 20:33 +0800)
committerGitHub <noreply@github.com>
Wed, 9 Aug 2023 12:33:19 +0000 (9 20:33 +0800)
tree31b6a31f6365e17914017206988200e0048f7d40
parent33d767b7658202ee72b51a80c079ecec455b04b7
Replace template conditionals with C++20 `requires` clause

Related: https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-constraints.html

PR #19424.
src/base/algorithm.h
src/base/orderedset.h
src/base/settingsstorage.h
src/base/utils/string.h
src/base/utils/version.h
test/testalgorithm.cpp