mirror of
https://github.com/boostorg/conversion.git
synced 2026-01-29 09:40:09 +01:00
no message
[SVN r18238]
This commit is contained in:
@@ -187,7 +187,7 @@ namespace boost
|
||||
Target result;
|
||||
|
||||
if(!(interpreter << arg && interpreter >> result))
|
||||
throw_exception(detail::no_lexical_conversion<Target, Source>());
|
||||
throw_exception(bad_lexical_cast(typeid(Target), typeid(Source)));
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user