Difference between revisions of "cpp/error/out of range"
From cppreference.com
m (Shorten template names. Use {{lc}} where appropriate.) |
m (Update links.) |
||
Line 11: | Line 11: | ||
===Member functions=== | ===Member functions=== | ||
{{dsc begin}} | {{dsc begin}} | ||
− | {{dsc inc | cpp/error/exception/ | + | {{dsc inc | cpp/error/exception/dsc constructor|out_of_range}} |
{{dsc end}} | {{dsc end}} | ||
Revision as of 21:52, 31 May 2013
Template:cpp/error/out of range/navbar
Defined in header <stdexcept>
|
||
class out_of_range; |
||
Defines a type of object to be thrown as exception. It reports errors that are consequence of attempt to access elements out of defined range.
Inheritance diagram
Member functions
(constructor) |
constructs the exception object (public member function) |
Inherited from std::exception
Member functions
[virtual] |
destroys the exception object (virtual public member function of std::exception )
|
[virtual] |
returns an explanatory string (virtual public member function of std::exception )
|