
14 Oct
2005
14 Oct
'05
1:12 p.m.
"Jim" == Jim Hyslop <jhyslop@dreampossible.ca> 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