sys: Fixed broken concept

This commit is contained in:
WerWolv
2021-08-30 19:12:19 +02:00
parent 1a157c7256
commit ef9f0cfca7
2 changed files with 12 additions and 3 deletions

View File

@@ -144,5 +144,13 @@ namespace hex {
concept floating_point = std::is_floating_point<T>::value;
}
template<typename T>
struct always_false : std::false_type {};
namespace hex {
template<typename T>
struct always_false : std::false_type {};
template<typename T, size_t Size>
concept has_size = sizeof(T) == Size;
}