summaryrefslogtreecommitdiff
path: root/AK/Concepts.h
AgeCommit message (Collapse)Author
2020-08-17AK: Add SFINAE fallback for AK C++ concepts use, for Coverity compilerBrian Gianforcaro
The Coverity compiler doesn't support C++2a yet, and thus doesn't even recognize concept keywords. To allow serenity to be built and analyzed on such compilers, add a fallback underdef to perform the same template restriction based on AK::EnableIf<..> meta programming. Note: Coverity does seem to (annoyingly) define __cpp_concepts, even though it doesn't support them, so we need to further check for __COVERITY__ explicitly.
2020-08-07AK: Remove unnecessary clang-format off comments.asynts
2020-08-06AK: Add Integral and FloatingPoint concepts.asynts