I\'ve searched but couldn\'t find any results (my terminology may be off) so forgive me if this has been asked before.
I was wondering if there is an easy way to call a
In C++: reinterpret_cast< void(*)() > (ptr) ()
reinterpret_cast< void(*)() > (ptr) ()
The use of reinterpret_cast saves you a set of confusing parentheses, and the < > clearly sets the type apart from the call itself.
reinterpret_cast
< >