aboutsummaryrefslogtreecommitdiffstats
path: root/common/albit.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix some clang-tidy warningsChris Robinson2023-12-081-3/+4
|
* Avoid std::aligned_storage, it's deprecated in newer C++Chris Robinson2023-10-081-3/+3
|
* Be a bit more safe with type manglingChris Robinson2023-05-241-3/+4
|
* Make and use a bit_cast functionChris Robinson2023-05-041-0/+11
| | | | Instead of reinterpret_casting between incompatible types
* constexpr functions are not allowed to have static variables, and if they ↵Glyn Leine2022-03-291-4/+4
| | | | are constexpr anyways then them being static has no benifit (#677)
* Make some local constexpr variables staticChris Robinson2022-02-231-4/+4
|
* Avoid an implicit char-to-bool conversionChris Robinson2022-02-231-5/+5
|
* Avoid using an if_constexpr macroChris Robinson2022-02-221-13/+11
| | | | | It doesn't actually use if constexpr, and compilers are smart enough to optimize. Some functions can use templates instead.
* Rename some variables to show the relevant bit patternChris Robinson2022-02-221-9/+9
|
* Use a fast native type for the backup popcountChris Robinson2021-03-021-7/+20
|
* Use if constexpr when possibleChris Robinson2021-01-221-2/+3
|
* Make PopCount and CountTrailingZeros more standard-likeChris Robinson2021-01-221-0/+108
|
* Make the endian test more C++-likeChris Robinson2021-01-211-0/+35