bad_lexical_cast derives from std::exception
This commit is contained in:
parent
8fafdbecd4
commit
49dc82b5d8
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ inline To lexical_cast(From value)
|
|||
}
|
||||
|
||||
/** Thrown when a lexical_cast fails. */
|
||||
struct bad_lexical_cast {};
|
||||
struct bad_lexical_cast : std::exception {};
|
||||
|
||||
namespace implementation {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue