I'm trying to store an arbitrary member function pointer.
Nothing about the function pointer is known beforehand.
I don't know what's the correct syntax for achieving this.
The following code will try to provide a better example of what I mean.
Please take into consideration this is not the actual code, but a short example of what it looks like.
What's the correct declaration for the FixThis parameter? (See pt. 1)
What's the correct way to call FixThis, and do I need to explicitly state the template parameters? (See pt. 2)
EDIT: Kinda resolved.
Apparently, std::string::copy is cv-incompatible.
This meant I had to change Point 1 to: void FixThis( RetVal (Class::* fptr)(Args...) const).
Point 2 was good to go.
I've received error messages for two days and changed parameter wording multiple times.
Today I gave up reading error messages for a second... just to find out I had it 98% right.