Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SergeyKostrov
Valued Contributor II
58 Views

A new feature request: __COUNTERINC__ & __COUNTERDEC__ macros ( 2nd post due to previous error )

This is a new feature request:

Microsoft's compilers have a __COUNTER__ predefined macro, similar to __FILE__ or __LINE__ macros.

__COUNTER__could be used for generation of unique variable names during the compilation.When used in a source code file ( *.c or *.cpp ) the macro increments some internal variable and remembers its state. But, there is No a macro that decrements the internal variable.

I wonder if a support for __COUNTERINC__ & __COUNTERDEC__ macros could be done in Intel C++ compilers?

0 Kudos
0 Replies
Reply