C++ Stdexcept Library - domain_error



Description

It is a domain error exception and this class defines the type of objects thrown as exceptions to report domain errors.

Declaration

Following is the declaration for std::domain_error.

class domain_error;

C++11

class domain_error;

Parameters

none

Return Value

none

Members

constructor − Here the string passed as what_arg has the same content as the value returned by member what.

stdexcept.htm
Advertisements