Newsgroups: comp.lang.c++ Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: operator precedence question Message-ID: <1988Jul22.170219.5837@utzoo.uucp> Organization: U of Toronto Zoology References: <347@gt-eedsp.UUCP> Date: Fri, 22 Jul 88 17:02:19 GMT In article <347@gt-eedsp.UUCP> baud@gt-eedsp.UUCP (Kurt Baudendistel) writes: >[in C] the comma operator was a valuable part of the for statement >syntax, but ... conversion to `proper' c++ variable declaration >technique (at the point of usage) invalidates the format of the for >statement. why is this? What can one say? Commas in the for statement are a useful trick in C that simply doesn't generalize to "proper C++". -- Anyone who buys Wisconsin cheese is| Henry Spencer at U of Toronto Zoology a traitor to mankind. --Pournelle |uunet!mnetor!utzoo! henry @zoo.toronto.edu