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/05/12 15:32:13 UTC

[jira] [Created] (PROTON-1195) [C++ binding] Don't use default parameters in ABI relevant places

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org