vector arguement

how to make vector arguement to default in constructor?
Could you re-phrase the question, or add a bit to it?
Last edited on
I believe the question you are trying to ask is can we pass a default vector to a function? The answer is no. You cannot pass a default vector because it doesn't make sense to create a blank vector with no data. You can just pass a blank vector. Or you can create the vector inside the body of the function.
Topic archived. No new replies allowed.