Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1163

Allow examples to use C++11 override

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-0.13.0
    • cpp-binding
    • 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).

      Attachments

        Activity

          People

            cliffjansen Clifford Jansen
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: