#include SmartStream &SmartStream::fail(void) { BYTE ch; while(!strstream::fail())*this>>ch; return *this; }