std::length_error::length_error
From Cppreference
< cpp | error | exception/length error
C++ Standard Library | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Utilities library | ||||||||||||||||||||||||||||
Error handling | ||||||||||||||||||||||||||||
std::length_error | ||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||
explicit length_error( const std::string& what_arg );
|
(1) | |
explicit length_error( 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)