|
sanisizer
Sanitize sizes to avoid integer overflow
|
Cap a value at the largest size. More...
Go to the source code of this file.
Namespaces | |
| namespace | sanisizer |
| Sanitize sizes to avoid integer overflow. | |
Functions | |
| template<typename Dest_ , typename Value_ > | |
| constexpr Dest_ | sanisizer::cap (Value_ x) |
Cap a value at the largest size.