Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-13855] [C++] Import function templates that return reference types. #56253

Closed
zoecarver opened this issue Nov 13, 2020 · 3 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself

Comments

@zoecarver
Copy link
Collaborator

Previous ID SR-13855
Radar None
Original Reporter @zoecarver
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CxxInterop
Assignee None
Priority Medium

md5: dc41b2127491996b815a928331edaa1f

Issue Description:

We should be able to import the following:

template<class T>   T &returnRef(T &val) { return val; }
@zoecarver
Copy link
Collaborator Author

Resolved by #34536.

@zoecarver
Copy link
Collaborator Author

@swift-ci create

1 similar comment
@zoecarver
Copy link
Collaborator Author

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@zoecarver zoecarver added c++ interop Feature: Interoperability with C++ and removed CxxInterop labels Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant