H
Haircuts Are Important
Can anyone explain to me in a line by line fashion the below example.
What are all the details!
template<class T, class one, class two>
class favorite2: public favorite1<T>
{
protected:
typedef void (T::* newthing)(one,two);
newthing keeptrying;
public:
favorite (newthing c):keeptrying (c){}
virtual void operator()(one p1, two p2)
{
//...
}
};
What are all the details!
template<class T, class one, class two>
class favorite2: public favorite1<T>
{
protected:
typedef void (T::* newthing)(one,two);
newthing keeptrying;
public:
favorite (newthing c):keeptrying (c){}
virtual void operator()(one p1, two p2)
{
//...
}
};