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

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?

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.