Fwd: A little patch submission

Paul Brook paul@codesourcery.com
Thu Sep 14 12:06:00 GMT 2006

> I would like to submit a small patch to libcpp.
> This patch adds to C++ preprocessor the __COUNTER__ macro.
> The __COUNTER__ macro expands to an unsigned integer constant starting with
> 0 and incrementing by 1 every time it is used in a compiland.
> It is supported by Microsoft compiler.

You need to document this extension.


More information about the Libstdc++ mailing list