boost::xint::options::negative_exception Struct Reference

Creates an integer type that considers unsigned values invalid. More...


Detailed Description

Creates an integer type that considers unsigned values invalid.

When using this option, if a calculation would result in a negative number, the library throws a cannot_represent exception. If exceptions are blocked, the calculation results in a Not-a-Number value instead.

Definition at line 193 of file options.hpp.


The documentation for this struct was generated from the following file:

© 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)