using the following code exmaple:
template <typename T> class Base
{
};
template<class T> class Second : public Base<Second<T> >
{
private:
T* PointTo;
public:
Second();
T* operator->() const
{
return PointTo;
}
};
class Foo
{
public:
void test() const {}
};
void main()
{
Second<Foo> pfoo;
pfoo->
}
When entering pfoo-> in main(), I don't see a suggestion list unless I set VAX to also take the intellisense suggestions into account, too. However, after entering "pfoo->test();" test is correctly color-coded as being a valid method.
This is really giving us a hard time atm, since most of our devs have intellisense disabled and rely on VAX and we just recently replaced almost all of our pointers with smart pointers.