Error: No instance of constructor matches the argument list
问题 As part of an assignment we have been asked to create a Vector3D class which uses memory allocated on the Heap. I have a Vector3DHeap class with the following constructor. Vector3DHeap::Vector3DHeap(float& x, float& y, float& z) { this->x = &x; this->y = &y; this->z = &z; } If I want to get a unit vector, I was expecting the be able to do the following. This gives the error message "No instance of constructor matches the argument list, argument types are (float, float, float). Vector3DHeap*