I have seen some similar questions but I can't get this to work.
This fails:
std::vector<void (CChristianLifeMinistryEntry::* pfnSetAssignName)(CString)> = xx;
I want a vector so that I can pre-fill it with a series of &CChristianLifeMinistryEntry::SetXXX
functions. This is so that I can quickly determine the right function to use in a for
loop I have.
CodePudding user response:
std::vector<void (CChristianLifeMinistryEntry::*)(CString)> pfnSetAssignName = xx;