|
sanisizer
Sanitize sizes to avoid integer overflow
|
Signedness-safe integer comparisons. More...
Go to the source code of this file.
Namespaces | |
| namespace | sanisizer |
| Sanitize sizes to avoid integer overflow. | |
Functions | |
| template<typename Left_ , typename Right_ > | |
| constexpr bool | sanisizer::is_equal (Left_ left, Right_ right) |
| template<typename Left_ , typename Right_ > | |
| constexpr bool | sanisizer::is_less_than (Left_ left, Right_ right) |
| template<typename Left_ , typename Right_ > | |
| constexpr bool | sanisizer::is_less_than_or_equal (Left_ left, Right_ right) |
| template<typename Left_ , typename Right_ > | |
| constexpr bool | sanisizer::is_greater_than (Left_ left, Right_ right) |
| template<typename Left_ , typename Right_ > | |
| constexpr bool | sanisizer::is_greater_than_or_equal (Left_ left, Right_ right) |
| template<typename First_ , typename Second_ > | |
| constexpr auto | sanisizer::min (First_ first, Second_ second) |
| template<typename First_ , typename Second_ > | |
| constexpr auto | sanisizer::max (First_ first, Second_ second) |
Signedness-safe integer comparisons.