v2024.0912.173622
·
34 commits
to master
since this release
Cast to ValueType before ValueIsOk check (#186) This allows using a larger backing value type to assign a UInt or Int value when the value itself fits within the range of the internal value type. Previously this would fail to compile if `-Wshorten-64-to-32` was specified when building with `clang`: ``` UIntView<FixedSizeViewParameters<16, AllValuesAreOk>> view; size_t value = 200; view.TryToWrite(value); ``` Fixes #185