I'm a little confused about the following:
I have an event (Qt Signal/Slot concept) that returns a type "const object &", what means it returns a const reference of type object, right or wrong?
When I try to pass this reference to my own function (it has to be a function with exactly the same type), why can't I write something like this:
void function(const object* arg)
Instead, I have to use it like this:
void function(const object &arg)
But I do not understand why I can't do it like in the first example...