You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2016/07/25 16:21:20 UTC

[jira] [Resolved] (PROTON-1163) Allow examples to use C++11 override

     [ https://issues.apache.org/jira/browse/PROTON-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Stitcher resolved PROTON-1163.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13.0

> 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
>             Fix For: 0.13.0
>
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org