This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[wwwdocs] gcc-4.3/changes.html -- introduce new __COUNTER__ macro


Adds a blurb about the new __COUNTER__ macro.

Ollie
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.3/changes.html,v
retrieving revision 1.69
diff -u -r1.69 changes.html
--- changes.html	9 Sep 2007 21:58:12 -0000	1.69
+++ changes.html	11 Sep 2007 20:03:33 -0000
@@ -230,6 +230,13 @@
     <code>0B</code>, followed by a sequence of 0 and 1 digits.
     </li>
 
+    <li>
+    A new predefined macro <code>__COUNTER__</code> has been added.
+    It expands to sequential integral values starting from 0.  In
+    conjunction with the <code>##</code> operator, this provides a
+    convenient means to generate unique identifiers.
+    </li>
+
   </ul>
 
 <h3>C++</h3>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]