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 Size_ , typename Input_ > | |
constexpr Size_ | sanisizer::cap (Input_ x) |
Cap a value at the largest size.