Skip to content

Figure out a plan for functions that return references but take more than one reference #99

Open
@adetaylor

Description

@adetaylor

cxx allows C++ functions which return references, but only if they take exactly one reference parameter (since then the lifetimes are obvious).

As our hope is to handle existing C++ APIs, we will encounter functions which return references and take 0 or 2+ reference parameters.

If they're methods, autocxx may try to generate them even if they're not in an explicit generate list.

So, we either need to silently skip them, or find some way that their behavior can be made unambiguous in a directive within the include_cpp! macro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cpp-featureC++ feature not yet supported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions