Is there a nicer syntax than calling objp->operator()(x, y, z)
if objp
is a pointer? &objp(x, y, z)
does not work. Because of all the symbols, this is hard to Google. Sorry of this is silly.
You can use (*objp)(x, y, z);
as an alternative.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With