visual studio intellisense error
Posted
by rakkarage
on Stack Overflow
See other posts from Stack Overflow
or by rakkarage
Published on 2009-11-12T23:21:27Z
Indexed on
2010/04/09
0:03 UTC
Read the original article
Hit count: 261
template <typename T>
class Test {
friend Test<T> & operator * (T lhs, const Test<T> & rhs) {
Test<T> r(rhs);
// return r *= lhs;
}
}
4 IntelliSense: identifier "T" is undefined
why is T defined on line 3 but not line 4? i mean i guess its not a real error just an intellisense error... it works anyway but is there something wrong? can i fix it? or remove the red squiggles somehow?
thanks
i am using visual studio 2010... i wonder if this happens in other versions as well?
© Stack Overflow or respective owner