Difference between revisions of "cpp/error/underflow error"
From cppreference.com
Line 9: | Line 9: | ||
{{dcl list begin}} | {{dcl list begin}} | ||
{{dcl list h1 | Member functions}} | {{dcl list h1 | Member functions}} | ||
− | {{dcl list template | cpp/error/exception | + | {{dcl list template | cpp/error/exception/dcl list constructor|underflow_error}} |
{{dcl list end}} | {{dcl list end}} | ||
{{cpp/error/exception/exception/inherit}} | {{cpp/error/exception/exception/inherit}} |
Revision as of 10:17, 19 June 2011
Template:cpp/error/exception/underflow error/sidebar
Defined in header <stdexcept>
|
||
class underflow_error : public std::runtime_error; |
||
Defines a type of object to be thrown as exception. It reports errors that arise because integer value in some computation could not be represented as it had too large negative value. If the value has floating point type, range_error
should be used.
Member functions |