Reset command, width and modified for %n and %t in from_stream.

This commit is contained in:
Howard Hinnant committed 2017-05-04 21:03:48 -04:00
1 parent f57432d7b4
commit cf0481b9af
2 files changed
+16

No files matched your search

+3
View File
@@ -5805,6 +5805,9 @@ from_stream(std::basic_istream<CharT, Traits>& is, const CharT* fmt,
for (++fmt; *fmt == 'n' || *fmt == 't'; ++fmt)
;
--fmt;
command = nullptr;
width = -1;
modified = CharT{};
}
else
read(is, *fmt);