Then the derived method is no longer an override of the base method. For virtual functions, the arguments cannot change in C++.
(In type theory, they may change in specific ways, but C++ doesn't support this.)
Then the derived method is no longer an override of the base method. For virtual functions, the arguments cannot change in C++.
(In type theory, they may change in specific ways, but C++ doesn't support this.)
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law