Article View: comp.std.c++
Article #794Re: preprocessing
From: Norman Diamond
Date: Tue, 22 Jan 1991 05:30
Date: Tue, 22 Jan 1991 05:30
12 lines
1130 bytes
1130 bytes
In article <1.UUL1.3#8618@softrue.UUCP> kearns@softrue.UUCP (Steven Kearns) writes:
>#define one(a, b) a b
>What does "one((c,d), {c,d})" expand to?
>If {} are considered parentheses, then arm 16.3 would suggest
>"(c,d) {c,d}", otherwise I might expect an error because
>it is interpreted as one("(c,d)", "{c", "d}").
The "otherwise" is correct; you should get an error.
--
Norman Diamond diamond@tkov50.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.
Technical Details
Message-ID:
<1991Jan22.053006.28362@tkou02.enet.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!snorkelwacker.mit.edu!bloom-beacon!deccrl!news.crl.dec.com!shlump.nac.dec.com!tkou02.enet.dec.com!jit345!diamondReferences:
<1.UUL1.3#8618@softrue.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!snorkelwacker.mit.edu!bloom-beacon!deccrl!news.crl.dec.com!shlump.nac.dec.com!tkou02.enet.dec.com!jit345!diamond From: diamond@jit345.swstokyo.dec.com (Norman Diamond) Newsgroups: comp.std.c++ Subject: Re: preprocessing Message-ID: <1991Jan22.053006.28362@tkou02.enet.dec.com> Date: 22 Jan 91 05:30:06 GMT References: <1.UUL1.3#8618@softrue.UUCP> Sender: news@tkou02.enet.dec.com (USENET News System) Reply-To: diamond@jit345.enet@tkou02.enet.dec.com (Norman Diamond) Organization: Digital Equipment Corporation Japan , Tokyo Lines: 12