Why Visual Studio 2015 highlights the function declaration with a wavy line and writes
no function definition found
although it exists and the program works (when calling this function, the code from the definition is executed)?
The ad is in my .h file, and the definition is in .cpp . Everything else does not emphasize.
If you use IntelliSense and create the definition automatically (the signature matches the non-automatic one), the wavy line disappears for a while, I insert the code into the new definition, delete the old definition, the wavy line reappears :(
If you comment out the code in the definition, the underscore disappears!
By line-by-line commenting, it also turned out that an underscore is caused by a string that uses #define from a third-party library.