[Qt-interest] Problems with template and function pointer

mario dodiesis at gmail.com
Thu Nov 4 16:26:22 CET 2010


2010/11/4 Sean Harmer <sean.harmer at maps-technology.com>:
>> I tried...
>> (this->*p)();
>> //error: pointer to member type ‘void (ModuleTest::)()’ incompatible
>> with object type ‘Module<ModuleTest>’
>
> This is your clue. The following 2 options both work. Up to you which you go
> for or some variation on them:

tnx!

T* m_object;

this was my missing part!
Thank you so much...
Mario




-- 
Mario Signorino | www.sgrunt.net




More information about the Qt-interest-old mailing list