Closed Konard closed 2 years ago
https://github.com/linksplatform/Interfaces/blob/master/cpp/Platform.Interfaces/Macros.h
For example, we can name this header as Undefine_Macros.h or UnMacros.h
Undefine_Macros.h
UnMacros.h
We could add undefine macros header file to the end of Platform.Interfaces.h do to something like this: https://github.com/linksplatform/Ranges/blob/master/cpp/Platform.Ranges/Range.h
Platform.Interfaces.h
They don't do that in C++. If it is necessary to declare macro without author prefixes (for example TRY instead of LLVM_TRY), an explicit #undef is usually used
TRY
LLVM_TRY
#undef
#undef TRY #define TRY ...
So no.
https://github.com/linksplatform/Interfaces/blob/master/cpp/Platform.Interfaces/Macros.h
For example, we can name this header as
Undefine_Macros.h
orUnMacros.h
We could add undefine macros header file to the end of
Platform.Interfaces.h
do to something like this: https://github.com/linksplatform/Ranges/blob/master/cpp/Platform.Ranges/Range.h