I get this strange behaviour from VS2017 working won C++ project: Intellisence is missing - i just type plain text with no warnings, And it still compiles:
No errors are shown in the whole file. However, when i try the same everywhere outside this function's scope, everything works as expected:
The problem occurs in my generic function implementation:
#pragma region Public API
template <typename Key, typename Value>
void BinarySearchTree<Key, Value> ::Put(Key key, Value val)
{
Node node = root_;
if(node.key == null)
sadadasd
affsa
dasds
dasdsad
asdsad
}
#pragma endregion
Class defined like this:
template <typename Key, typename Value>
class BinarySearchTree {};
Again, it is dead silent - no red/yellow at all. Compiled code even runs. It is as if that part is comented out.
Tried reloading VS, did not help