Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The C++11 override feature is extremely useful for detecting when you have the wrong signature for an overridden member function sued for an interface.
As we are developing the C++ API which uses inheritance from proton::handler in exactly this way it is extremely helpful to get the compiler to find mistakes in this regard especially as the interface changes.
So this change introduces override in the appropriate useful places in a way that is backward compatible with C++03 and earlier with some small limitiations (essentially you can't use the keyword "override" in your code).