/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace AK::Concepts { #if defined(__cpp_concepts) && !defined(__COVERITY__) template concept Integral = IsIntegral; template concept FloatingPoint = IsFloatingPoint; template concept Arithmetic = IsArithmetic; template concept Signed = IsSigned; template concept Unsigned = IsUnsigned; #endif } #if defined(__cpp_concepts) && !defined(__COVERITY__) using AK::Concepts::Arithmetic; using AK::Concepts::FloatingPoint; using AK::Concepts::Integral; using AK::Concepts::Signed; using AK::Concepts::Unsigned; #endif