forked from boostorg/conversion
Merge from trunk:
* fixed #6812 (now converting "." to float type throws bad_lexical_cast) [SVN r78211]
This commit is contained in:
1 parent
eb4ad73caf
commit
b1b5305984
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