Skip to content

Commit

Permalink
bad_lexical_cast derives from std::exception
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed May 18, 2014
1 parent 92ccb25 commit 7247cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lexical_cast.hpp
Expand Up @@ -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 {

Expand Down

0 comments on commit 7247cb4

Please sign in to comment.