Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
stdexcept
domain_error
invalid_argument
length_error
logic_error
out_of_range
overflow_error
range_error
runtime_error
underflow_error
stdexcept
header
Exception classes
This header defines a set of standard exceptions that both the library and programs can use to report common errors.
They are divided in two sets:
Logic errors
:
logic_error
Logic error exception
(class)
domain_error
Domain error exception
(class)
invalid_argument
Invalid argument exception
(class)
length_error
Length error exception
(class)
out_of_range
Out-of-range exception
(class)
Runtime errors
:
runtime_error
Runtime error exception
(class)
range_error
Range error exception
(class)
overflow_error
Overflow error exception
(class)
underflow_error
Underflow error exception
(class)