Skip to content

v2024.0912.173622

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Sep 17:36
· 34 commits to master since this release
731f3d1
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