Creates an integer type that forces any negative number to zero. More...
Creates an integer type that forces any negative number to zero.
This is useful for saturation arithmetic, though you'll have to handle the upper bound yourself.
Definition at line 204 of file options.hpp.
© Copyright Chad Nelson, 2010-2011. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)