forked from boostorg/conversion
Fixes #6812 (now converting "." to float type throws bad_lexical_cast)
[SVN r78111]
This commit is contained in:
1 parent
d963842d70
commit
15ab0d6385
2 files changed
+4
-1
No files matched your search
@@ -1062,9 +1062,10 @@ namespace boost {
|
||||
) return false;
|
||||
#endif
|
||||
|
||||
if(*begin == decimal_point){
|
||||
if(*begin == decimal_point) {
|
||||
++ begin;
|
||||
found_decimal = true;
|
||||
if (!found_number_before_exp && begin==end) return false;
|
||||
continue;
|
||||
}else {
|
||||
if (!found_number_before_exp) return false;
|
||||
|
||||
Reference in new issue
Block a user