Xref: utzoo comp.lang.c++:4846 comp.lang.c:22331 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!bloom-beacon!eru!luth!sunic!tut!pl From: pl@etana.tut.fi (Lehtinen Pertti) Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: Time to standardize "true" and "false" Message-ID: <8862@etana.tut.fi> Date: 28 Sep 89 14:12:49 GMT References: <12070@cit-vax.Caltech.Edu> Sender: News@tut.fi Lines: 18 From article <12070@cit-vax.Caltech.Edu>, by wen-king@cit-vax.Caltech.Edu (King Su): > > #define bool(a) (!!(a)) > > Then just use bool(X) whenever you wanted to use (bool)X. > Then suddenly just behind the corner cames C-compiler from ACME-corporation and realizes '!!a' -> negation of negation is same as original -> we can optimize it away. Nice, isn't it. And too real too. -- pl@tut.fi ! All opinions expressed above are Pertti Lehtinen ! purely offending and in subject Tampere University of Technology ! to change without any further Software Systems Laboratory ! notice