Good point.Why not just split the discussion?
Consider standard I/O redirection and pipes.Actually, it's cin >> that I consider a problem, not the >> overloaded operator.
We can overload >> for many classes and give them a good purpose.
But cin or wcin... that's where I draw the line to unuseful and misguiding use.
That's true, though for some command line programs invalid input would result in immediate termination.Except it's less of a hassle to just check if a conversion failed rather than checking and clearing the input buffer.