Boost logo

Boost :

From: Liu Jin (cpp_at_[hidden])
Date: 2005-10-14 08:12:20


>>>>> "Jim" == Jim Hyslop <jhyslop_at_[hidden]> writes:
[...]
> I find a statement like 'ar & member1;' to be very
> non-intuitive: how does bitwise-and relate to serialization?

> It seems to me that most sensible code guidelines admonish
> against this kind of operator abuse (pardon my bluntness, but
> that's what it is when you get down to it).

Then how does bitwise-shift relate to I/O (iostream),
or arithmetic addition relate to string concatenation (string),
or modulo relate to formating strings (boost.format)?

What's wrong when two irrelevant domains accidentally choose the same
notation?

Regards,
Liu Jin


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