Namespaces
Variants
Views
Actions

std::out_of_range::out_of_range

From cppreference.com
 
 
 
 
std::out_of_range
Member functions
out_of_range::out_of_range
Inherited from std::exception
exception::~exception
exception::what
 
explicit out_of_range( const std::string& what_arg );
(1)
explicit out_of_range( const char* what_arg );
(2) (since C++11)

Constructs the exception object with what_arg as explanatory string that can be accessed through what().

[edit] Parameters

what_arg - explanatory string

[edit] Exceptions

(none)