Hello,
I came across a snippet of code which I was not able to interpret
correctly.
typedef CategoryStream& (*cspf) (CategoryStream &);
CategoryStream& CategoryStream: :operator<< (cspf pf) {
return (*pf)(*this);
}
If anyone could explain each line, it would be great!
I came across a snippet of code which I was not able to interpret
correctly.
typedef CategoryStream& (*cspf) (CategoryStream &);
CategoryStream& CategoryStream: :operator<< (cspf pf) {
return (*pf)(*this);
}
If anyone could explain each line, it would be great!
Comment