[ 
https://issues.apache.org/jira/browse/PROTON-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15207055#comment-15207055
 ] 

ASF subversion and git services commented on PROTON-1163:
---------------------------------------------------------

Commit 04e948972204eb1f6cb150582827a6c9554c5713 in qpid-proton's branch 
refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=04e9489 ]

PROTON-1163: Start to use C++11 override to catch problems with handlers
- Add #define to null out override if c++ earlier than C++11


> 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)

Reply via email to