Is there a macro identified by IntelliSense analysis?

Each compiler has a macro like __BORLANDC__ , which allows the programmer to activate or deactivate specific behavior or workarounds.

Is such a macro specific while IntelliSense parses files so that I can activate workarounds for errors?

 #if defined __INTELLISENSE__ #define SOMETHING #endif 
+6
source share
1 answer

Yes. He called __INTELLISENSE__ , you guessed it.

 #ifdef __INTELLISENSE__ // ... #endif 
+7
source

Source: https://habr.com/ru/post/977678/


All Articles