blob: 19d372c5d70e1c5874835f7a6ff2af31fa5429b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
namespace math
{
template<typename type>
concept arithmetic = std::is_arithmetic_v<type>;
template<typename type>
concept signed_arithmetic = std::is_arithmetic_v<type> && std::is_signed_v<type>;
template<typename type>
concept unsigned_arithmetic = std::is_arithmetic_v<type> && std::is_unsigned_v<type>;
} // namespace math
|