+5  A: 

Visual C++'s intellisense is a bit quirky. Sometimes it screws up. That doesn't mean there is a problem in your code. Always take C++ intellisense with a grain of salt.

jalf
+2  A: 

Sometimes intellisense does that. If you use Visual Assist X it will fix that, but it is a very expensive program :(

rlbond
+2  A: 
Kirill V. Lyadvinsky