Great "Fix" for intellisense in VC 8!

Finally intellisense can see through smart-pointers. I put in this code:

#include <iostream>

template < typename X >
class Y
{
private:
X * x;
public:
X* operator->() const
{
return x;
}

Y( X* x0 )
: x( x0 )
{
}

};

class Z
{
public:
void output() const
{
std::cout << "Hello world";
}
};

int main()
{
Z z;
Y< Z > y( &z );

y->output();
}

and as I typed in y-> it put "output" as a possible method. That didn't happen in previous versions.
[715 byte] By [NMTop40] at [2007-11-19 19:20:23]