aboutsummaryrefslogtreecommitdiffstats
path: root/common/opthelpers.h
Commit message (Collapse)AuthorAgeFilesLines
* Forward the (un)likely expression being cast to boolChris Robinson2022-02-241-4/+7
|
* Avoid using an if_constexpr macroChris Robinson2022-02-221-6/+0
| | | | | It doesn't actually use if constexpr, and compilers are smart enough to optimize. Some functions can use templates instead.
* Make a couple more operator bools explicitChris Robinson2022-02-201-4/+10
|
* Simplify and combine a couple macrosChris Robinson2021-12-181-8/+8
|
* Make simpler likely/unlikely functions and use them in some placesChris Robinson2021-10-031-0/+4
|
* Fix __cplusplus value checkChris Robinson2021-01-221-1/+1
|
* Use if constexpr when possibleChris Robinson2021-01-221-0/+6
|
* Reorder definitions to keep them near each otherChris Robinson2020-12-051-13/+13
|
* Modify LIKELY and UNLIKELY to not need extra parenthesisChris Robinson2019-08-041-2/+2
|
* Use false instead of 0 for a booleanChris Robinson2019-03-241-2/+2
|
* Move some macros to a common headerChris Robinson2019-01-071-0/+39