A little patch submission

lkeren@cs.technion.ac.il lkeren@cs.technion.ac.il
Thu Sep 14 07:54:00 GMT 2006


Hello,

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.

Attached is a diff file of the patch.

Thanks,
Keren.



More information about the Libstdc++ mailing list