title: In C++, can you manually set the failbit of a stream? How?
body: <p>I am overloading the input stream operator for use with a Time class and would like to manually set the failbit of the input stream if the input doesn't match my expected time format (hh:mm). Can this be done? How?</p>
  
  <p>Thanks!</p>