Hello, I found this example of a class and I'm just trying to
understand what's going on with the operator function, could someone
help? I understand the template part. But i dont get the statment
operator int *(). how can you have a type as part of the function
name? or is it part of the function name? also there is no return
type, is that just because default int is assumed? thanks
class NullClass
{
public:
template<class T>
operator T *() const
{
return 0;
}
};