Ask Your Question
3

What does the error message "no matching function for call to 'Order::Order()'" indicate?

asked 2021-09-27 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-09-19 23:00:00 +0000

lakamha gravatar image

The error message "no matching function for call to 'Order::Order()'" indicates that there is no constructor defined for the class "Order" that takes zero arguments. This can occur when the class is instantiated or when an object of the class is created without providing the necessary arguments for its constructor. To resolve the error, the constructor for the class may need to be modified to include the missing arguments or a different constructor may need to be used that matches the provided arguments.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-09-27 11:00:00 +0000

Seen: 1 times

Last updated: Sep 19 '21