Andrew Stitcher created PROTON-1163:
---------------------------------------
Summary: Allow examples to use C++11 override
Key: PROTON-1163
URL: https://issues.apache.org/jira/browse/PROTON-1163
Project: Qpid Proton
Issue Type: Improvement
Components: cpp-binding
Reporter: Andrew Stitcher
Assignee: Cliff Jansen
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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)