This issue has been automatically converted from the original issue lists and some formatting may not have been preserved.
Authors: WG21, WG21
Date: 2004-10-26
Reference document: ISO/IEC WG14 N1068
Submitted against: C99
Status: Fixed
Fixed in: C99 TC3
Converted from: summary-c99.htm, dr_310.htm
The existing corner case example is a good one. For some reason it was removed from C++, and I will propose that it be restored. But in general there are very few cases where the only example presented is a corner case. If trigraphs make any sense at all, then perhaps it would make sense to present a more realistic example (possibly even more realistic than this example).
Add new example paragraph before 5.2.1.1p2:
EXAMPLE 1:
??=define arraycheck(a,b) a??(b??) ??!??! b??(a??)becomes
#define arraycheck(a,b) a[b] || b[a]
Comment from WG14 on 2006-03-05:
Add new example paragraph before 5.2.1.1p2:
EXAMPLE 1:
??=define arraycheck(a,b) a??(b??) ??!??! b??(a??)becomes
#define arraycheck(a,b) a[b] || b[a]