Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2001-06-01 20:28:35


From: joel de guzman <isis-tech_at_[hidden]>
> ...
> >
> > I'm fine with +, but Joel has been pushing <<, which I hate.
> > I'm suggesting * as a compromise. Or else we wait for Bjarne's
> > overloaded white space proposal to be accepted ;->
>
> Now I ask. Why do you dislike the >> ?

Mostly it just looks ugly to me.

> a >> b.... b follows an a in sequence

Thanks to iostreams I would expect to see

   a << b << c

rather than

   a >> b >> c

which may be why it looks ugly to me.

That is, to get the string "abc" to output you would write

  cout << "a" << "b" << "c";

But of course this is very subjective, and it's your call.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk