CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::Numeric Concept Reference

#include <CeresEngine/SwiftConcepts.hpp>

Concept definition

template<typename T>
concept CeresEngine::Numeric = requires(T v) {
{ v } -> Hashable;
{ v } -> Comparable;
{ v } -> ExpressibleByIntegerLiteral;
}
Definition SwiftConcepts.hpp:37
Definition SwiftConcepts.hpp:42
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25