Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!rutgers!cmcl2!phri!marob!cowan From: cowan@marob.masa.com (John Cowan) Newsgroups: comp.lang.c++ Subject: Re: A C++ Macro Package implementing *Assertions* (was: Re: Eiffel vs. C++) Message-ID: <729@marob.masa.com> Date: 12 Jun 89 18:01:34 GMT References: <2689@ssc-vax.UUCP> <77300029@p.cs.uiuc.edu> <764@cirrusl.UUCP> Reply-To: cowan@marob.masa.com (John Cowan) Organization: ESCC New York City Lines: 11 In article <764@cirrusl.UUCP> paul@sun600 (Paul E. Black) writes: >#define ASSERT(ex) {if (!(ex)) (void)fprintf(stderr,"ex not true in %s, line %d\n",__FILE__,__LINE__);} Pfui. Note the Reiserism. Correct ANSI C would use #ex outside the quotes, rather than ex inside them. Does C++ make Reiserism standard? I hope not. -- John Cowan or UUCP mailers: ...!uunet!hombre!{marob,magpie}!cowan Fidonet (last resort): 1:107/711 Aiya elenion ancalima!