I have a function that looks something like
foo(object& obj) {
}
inside this function I need to call another function like this:
foo(object& obj) {
bar(pointer to obj);
}
the bar function takes a pointer to the object as an argument. Could some help I can do convert from non pointer to pointer?