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

[C++ binding] Don't use default parameters in ABI relevant places

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-0.13.0
    • cpp-binding
    • None

    Description

      Using default parameter arguments requires the client side of the API to actually pass the default parameter.

      For maximal forward ABI flexibility, it is usually better to have different ABI entry points corresponding to the different overloads of the function.

      The major exception to this is where the API is defined inline in the header file: In this case the API client is doing all the work anyway and there is no actual ABI symbol in any case.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: