Difference between revisions of "cpp/error/out of range"
From cppreference.com
m (Text replace - "{{dcl list begin}} {{dcl list h1 | Member functions}}" to "===Member functions=== {{dcl list begin}}") |
|||
Line 7: | Line 7: | ||
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. | 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. | ||
+ | ===Member functions=== | ||
{{dcl list begin}} | {{dcl list begin}} | ||
− | |||
{{dcl list template | cpp/error/exception/dcl list constructor|out_of_range}} | {{dcl list template | cpp/error/exception/dcl list constructor|out_of_range}} | ||
{{dcl list end}} | {{dcl list end}} | ||
{{cpp/error/exception/exception/inherit}} | {{cpp/error/exception/exception/inherit}} |
Revision as of 16:06, 18 August 2011
Template:cpp/error/exception/out of range/sidebar
Defined in header <stdexcept>
|
||
class out_of_range : public std::logic_error; |
||
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.