There is a segment of code incomprehensible when my friend was reading this hpp file. Specifically,
- what does certain formation such as
A(B, C)
,int(int, int)
, or in this caseT(Type::*)
means? I've already seen usages such asstd::function<int(int, int)>
, but still have no idea whatint(int, int)
, alone, means. - what does
Type::*
mean? How can a asterisk mark follows::
directly?