From: Luis Coelho (luis.coelho_at_[hidden])
Date: 2000-11-20 21:16:02
Since this is my first post in this list, I'll introduce myself:
I'm Luis Pedro Coelho, I've been using C++ for a couple of years now. I'm a
computer engineering student in Lisbon and am trying to learn whatever I can
from the experts here.
On Saturday 18 November 2000 02:56, you wrote:
> I think that the entire C++ stream mechanism should be extended to
> 'binary' or if you prefer, non-character-formatted streams. That this was
> overlooked seems like a HUGE hole in the design. Then we could use the
> normal (overloaded "<<" and ">>" operators).
I think that operator << and operator >> should not be used for binary IO.
They are used in the standard for text IO (which is very portable in fact).
One shouldn't overload them for something else, but rather use explicitly
-- Luis Coelho. Check out my game of Hearts, a card game, for KDE at: http://www.geocities.com/deepblack9/index.html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk