Topic: bitand for addressof?


Author: "Bill Wade" <bill.wade@stoner.com>
Date: 1998/04/09
Raw View
Am I correct in reading that 'bitand' is merely a token alias?  Should the
compiler accept it as a prefix operator?
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]





Author: clamage@Eng.Sun.COM (Steve Clamage)
Date: 1998/04/12
Raw View
In article 1@uuneo.neosoft.com, "Bill Wade" <bill.wade@stoner.com> writes:
>Am I correct in reading that 'bitand' is merely a token alias?  Should the
>compiler accept it as a prefix operator?

Yes, "bitand" is just another way to spell "&". But I'd say you are not
doing readers of your code any favors if you write something like

 int* p = bitand j; // yuck

---
Steve Clamage, stephen.clamage@sun.com
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]