[ox/std] Add Union_c concept
This commit is contained in:
4
deps/ox/src/ox/std/concepts.hpp
vendored
4
deps/ox/src/ox/std/concepts.hpp
vendored
@@ -32,4 +32,8 @@ concept Integral_c = ox::is_integral_v<T>;
|
||||
|
||||
template<typename T, size_t max>
|
||||
concept IntegerRange_c = ox::is_integer_v<T> && ox::MaxValue<T> >= max;
|
||||
|
||||
template<typename Union>
|
||||
concept Union_c = is_union_v<Union>;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user