Fixes #6812 (now converting "." to float type throws bad_lexical_cast)

[SVN r78111]
This commit is contained in:
Antony Polukhin committed 2012-04-21 11:08:03 +00:00
1 parent d963842d70
commit 15ab0d6385
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -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;