This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
A little patch submission
- From: lkeren at cs dot technion dot ac dot il
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 14 Sep 2006 10:54:05 +0300
- Subject: A little patch submission
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.