Hi !
I'd like to know whether it's possible, for an operator, to be a template (using vc++6). More specifically, suppose I've got a template class
I'd like to have an operator that converts type T* to type Pointer <T>. But vc++ does not allow the following syntax :Code:template <class T> class Pointer <T> { T *p; }
So, what should I write instead ?Code:template <class T> operator Pointer <T> (T *p);
Thanks for your help !