Namespaces
Variants
Views
Actions

std::out_of_range

From cppreference.com
< cpp‎ | error
Revision as of 09:50, 19 June 2011 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:cpp/error/exception/runtime error/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.

Template:cpp/error/exception/out of range/dcl list constructor

Member functions

Template:cpp/error/exception/exception/inherit