Is there a stronger syntax than calling objp->operator()(x, y, z) if objp is a pointer? &objp(x, y, z) does not work. Due to all the characters, this is difficult for Google. Sorry, this is stupid.
objp->operator()(x, y, z)
objp
&objp(x, y, z)
You can use (*objp)(x, y, z); as an alternative.
(*objp)(x, y, z);
(*objp)(x, y, z); would be an obvious alternative. I'm not sure if you think it is better or not, though.
Do it in two lines;
MyType& functorRef = *objp; // Use the appropriate type name. functorRef(x, y, z);
Or in C ++ 11 you can use auto.
auto& functorRef = *objp; functorRef(x, y, z);