> template <class T> > ostream& operator<<<T> (switch_stream& s, T& thing) This code is in error, it should be template <class T> ostream& operator<< (switch_stream& s, T& thing) instead. The current egcs reports this error instead of crashing. Martin