template <typename T>
struct _Obj
{
void doSmth(){};
};
template <typename T>
struct _Blub
{
typedef _Obj<T> _ObjType;
};
template <typename T>
struct _Test
{
_Test()
{
m_obj.doSmth();
doSmth(&m_obj); //<-- m_obj colored wrong
doSmth(m_obj); //<-- m_obj colored wrong
}
void doSmth(typename _Blub<T>::_ObjType* obj){} //<-- obj colored wrong
void doSmth(typename _Blub<T>::_ObjType& obj){} //<-- obj colored wrong
typename _Blub<T>::_ObjType m_obj; //<-- m_obj colored wrong
};
using vs2003