Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~951 People Reached
Favorite Forums
Favorite Tags
c++ x 7
Member Avatar for mirkuh

Hi, instead of writing this [CODE] SomeFunction<Class>::Bind<&Class::MemberFunction>(this); [/CODE] I want to provide an easier way to call "SomeFunction". I have one solution using a macro like this: [CODE] GET_EXAMPLE(Class, &Class::MemberFunction, this); //... #define GET_EXAMPLE(ClassName, MemberFunctionPointer, InstancePointer) \ (SomeFunction<ClassName>::Bind<MemberFunctionPointer>(InstancePointer)) [/CODE] But in order to avoid the use of this macro I'd …

Member Avatar for mirkuh
0
437
Member Avatar for mirkuh

Hi, I want to call CTest's StaticMethod via a function pointer from Class CCaller. I noticed that StaticMethod is not inlined and the call takes much more time compared to calling the function directly. When calling directly the function gets inlined - even without the inline keyword. Can't the function …

Member Avatar for JasonHippy
0
405
Member Avatar for mirkuh

Hi, in my code the class CFactory has a non-type template parameter TStaticMemberFct which is a static function of a different class that should get called when Wrapper() is called via a CInterruptDelegate object. But it seems that Wrapper() gets already called when it is passed as the CInterruptDelegate constructor …

Member Avatar for Narue
0
109