Namespaces
Variants
Views
Actions

std::invalid_argument

From cppreference.com
< cpp‎ | error
Revision as of 14:44, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
 
Defined in header <stdexcept>
class invalid_argument;

Defines a type of object to be thrown as exception. It reports errors that arise because an argument value has not been accepted.

cpp/error/exceptioncpp/error/logic errorstd-invalid argument-inheritance.svg
About this image

Inheritance diagram

Member functions

Template:cpp/error/exception/dcl list constructor

Inherited from std::exception

Member functions

[virtual]
destructs the exception object
(virtual public member function of std::exception) [edit]
[virtual]
returns an explanatory string
(virtual public member function of std::exception) [edit]