A nice one - nothing to do. Introduce an std::clamp(), just because we can... Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>