How to write a funtion parameter list with pointer?

As you can see, if the parameter list is a int, there won't be any problem, but when it is an object pointer, then here comes the problem. Why?

 
void setCloseNieghborPointer(const cPoint_c * & npe=nullptr);
Last edited on
Any body any idea?
Topic archived. No new replies allowed.