Andrew Stitcher created PROTON-1195:
---------------------------------------

             Summary: [C++ binding] Don't use default parameters in ABI 
relevant places
                 Key: PROTON-1195
                 URL: https://issues.apache.org/jira/browse/PROTON-1195
             Project: Qpid Proton
          Issue Type: Improvement
          Components: cpp-binding
            Reporter: Andrew Stitcher
            Assignee: Andrew Stitcher


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to