Make reading a tuple work with std::noskipws. Fixes #1920

[SVN r62678]
This commit is contained in:
Steven Watanabe
2010-06-09 17:45:24 +00:00
parent d908a5d566
commit 052b3db77f
2 changed files with 11 additions and 0 deletions

View File

@ -384,6 +384,8 @@ extract_and_check_delimiter(
if (is.good() && c!=d) {
is.setstate(std::ios::failbit);
}
} else {
is >> std::ws;
}
return is;
}
@ -478,6 +480,8 @@ extract_and_check_delimiter(
if (is.good() && c!=d) {
is.setstate(std::ios::failbit);
}
} else {
is >> std::ws;
}
return is;
}