PortableBitfields icon indicating copy to clipboard operation
PortableBitfields copied to clipboard

Portable Bitfields implementation, with configurable behavior.

Results 10 PortableBitfields issues
Sort by recently updated
recently updated
newest added

Needed by new version of Visual Studio 2022 compiler

Add a template parameter type alias to the Bitfields template class to facilitate use in scenarios where that UnderlyingType is shared. For example, if this library is combined with the...

adding static cast to suppress compiler warnings

There is an overflow in field_size which causes a compiler error. This occurs in the special case where a single field is defined which is the same width as the...

When building Catch2 against later GCC versions, I encountered some errors about types like uint8_t and uint32_t not being defined. Upgrading Catch2 to v3.10.0 resolve these issues and allowed me...

Warning seen on Line 77 and 144. Added cast on 158 as well to be consistent. This was the GCC warning, https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion

This should resolve warnings from Clang about field_masks shadowing a static data member

Update usage instructions to leverage CPM instead of FetchContent per [request in PR#4](https://github.com/KKoovalsky/PortableBitfields/pull/4#issuecomment-3023490429)

Add `CMakePresets.json` per [request in PR#4](https://github.com/KKoovalsky/PortableBitfields/pull/4#issuecomment-3023490429)

Implementing `clang-tidy` and `clang-format` per [request in PR#4](https://github.com/KKoovalsky/PortableBitfields/pull/4#issuecomment-3023490429).