PIP_ADD_COUNTER now almost unique across different cpp
add PIValueTree
This commit is contained in:
@@ -367,9 +367,9 @@
|
||||
name& operator=(const name&) = delete;
|
||||
|
||||
|
||||
#define _PIP_ADD_COUNTER_WS(a, cnt) a##cnt
|
||||
#define _PIP_ADD_COUNTER_WF(a, cnt) _PIP_ADD_COUNTER_WS(a, cnt)
|
||||
#define _PIP_ADD_COUNTER(a) _PIP_ADD_COUNTER_WF(a, __COUNTER__)
|
||||
#define _PIP_ADD_COUNTER_WS(a, cnt, line) a##cnt##_##line
|
||||
#define _PIP_ADD_COUNTER_WF(a, cnt, line) _PIP_ADD_COUNTER_WS(a, cnt, line)
|
||||
#define _PIP_ADD_COUNTER(a) _PIP_ADD_COUNTER_WF(a, __COUNTER__, __LINE__)
|
||||
|
||||
|
||||
#define STATIC_INITIALIZER_BEGIN \
|
||||
|
||||
Reference in New Issue
Block a user