Ported CDIOs

This commit is contained in:
Jaby
2023-03-21 20:39:51 +01:00
parent fc47ca7c6a
commit f4cc1c5ea5
5 changed files with 107 additions and 104 deletions

View File

@@ -40,6 +40,11 @@ namespace JabyEngine {
constexpr IOValueSetPair<T> with(T value) const {
return {*this, value};
}
template<typename T>
constexpr IOValueSetPair<T> range_max() const {
return IOValueSet::with<T>((1 << this->length) - 1);
}
};
template<typename T>