Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/error/out of range"

From cppreference.com
< cpp‎ | error
m (Text replace - "{{dcl list begin}} {{dcl list h1 | Member functions}}" to "===Member functions=== {{dcl list begin}}")

Revision as of 00:17, 29 April 2012

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.

Member functions

Template:cpp/error/exception/dcl list constructor

Template:cpp/error/exception/exception/inherit