Implementation for inc/util/restrict.h
More...
#include "inc/util/restrict.h"
Namespaces | |
namespace | syten |
Syten namespace. | |
Functions | |
std::int64_t | syten::restrict (std::int64_t value, std::int64_t max) |
Restricts value into the range [0,max) , mapping -1 to max-1 . More... | |
Implementation for inc/util/restrict.h