This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

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.


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