Path: utzoo!mnetor!uunet!husc6!necntc!ima!haddock!karl
From: karl@haddock.ISC.COM (Karl Heuer)
Newsgroups: comp.lang.c
Subject: Re: C blocks
Message-ID: <1921@haddock.ISC.COM>
Date: 9 Dec 87 21:56:37 GMT
References: <470@PT.CS.CMU.EDU>
Reply-To: karl@haddock.ima.isc.com (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 11
Summary: simpler solution

In article <470@PT.CS.CMU.EDU> edw@IUS1.CS.CMU.EDU (Eddie Wyatt) writes:
>Could the ANSI committee consider adding return values for blocks?
>If they where added, I could guarentee my macro arguments where only
>evaluated once as they are in function calls.

I would be very surprised if ANSI C ever gets this enhancement.  It's too big
a language change in comparison to the magnitude of the problem being solved.
A more likely enhancement is the "inline" keyword (applied to functions),
which has already had some exposure in C++.

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint