From 0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 26 Dec 2025 23:17:56 +0500 Subject: Add include guards and header comments to sources --- src/core/math/concepts.hh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/core/math/concepts.hh') diff --git a/src/core/math/concepts.hh b/src/core/math/concepts.hh index 6ad5cb7..5d1ef7d 100644 --- a/src/core/math/concepts.hh +++ b/src/core/math/concepts.hh @@ -1,3 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: concepts.hh +// Description: C++20 concepts that should be in standard library but are not + +#ifndef CORE_MATH_CONCEPTS_HH +#define CORE_MATH_CONCEPTS_HH #pragma once namespace math @@ -9,3 +16,5 @@ concept signed_arithmetic = std::is_arithmetic_v && std::is_signed_v template concept unsigned_arithmetic = std::is_arithmetic_v && std::is_unsigned_v; } // namespace math + +#endif -- cgit