28
Text processing library
[text]
28.5
Formatting
[format]
28.5.10
Class
format_
error
[format.error]
🔗
namespace
std
{
class
format_error
:
public
runtime_error
{
public
:
explicit
format_error
(
const
string
&
what_arg
)
;
explicit
format_error
(
const
char
*
what_arg
)
;
}
;
}
1
#
The class
format_
error
defines the type of objects thrown as exceptions to report errors from the formatting library
.
🔗
format_error
(
const
string
&
what_arg
)
;
2
#
Postconditions
:
strcmp
(
what
(
)
, what_
arg
.
c_
str
(
)
)
=
=
0
.
🔗
format_error
(
const
char
*
what_arg
)
;
3
#
Postconditions
:
strcmp
(
what
(
)
, what_
arg
)
=
=
0
.