------- Comment #3 from redi at gcc dot gnu dot org 2010-06-07 11:56 ------- [lib.string.io] paragraph 8 If the function extracts no characters, it calls is.setstate(ios_base::failbit) which may throw ios_base::failure (27.4.4.3).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44441