So I am having a bit of a problem getting visual assist to recognize when I am using a (custom rolled) smart pointer and give me autocomplete options, which is a bit frustrating as we use them everywhere.
I am currently working with build 1854 (2011.7.18) in VS2008 with intellisense disabled. I have the following construct:
#define sptr SmartPointer
template <typename T>
class SmartPointer
{
private:
T* Object;
//Other private methods
public:
T* operator -> () { return Object; }
//Other public methods
}
Using this construct, VAX fails to parse and give autocomplete options whenever using either SmartPointer<Type> or sptr<Type>. This fails for both the -> operator and the . operator Is this a known issue, or am I doing something incorrect here?