Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | error
Line 9: Line 9:
 
{{dcl list begin}}
 
{{dcl list begin}}
 
{{dcl list h1 | Member functions}}
 
{{dcl list h1 | Member functions}}
{{dcl list template | cpp/error/exception/out_of_range/dcl list constructor}}
+
{{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 10:17, 19 June 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.

Template:cpp/error/exception/dcl list constructor

Member functions

Template:cpp/error/exception/exception/inherit