Merge from trunk:

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

[SVN r78211]
This commit is contained in:
Antony Polukhin committed 2012-04-26 17:59:17 +00:00
1 parent eb4ad73caf
commit b1b5305984
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;