Automatic C++ Return Type Narrowing
Registered by
Gustavo Carneiro
Consider class Foo : Bar, and class Zbr : Bar, with Bar an abstract class.
For C++ functions/methods that return a pointer to Bar, when mapping the return value Bar* to Python the language bindings should automatically infer the correct concrete type, Foo or Zbr, and create a Python wrapper for that type instead of the parent type.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Gustavo Carneiro
- Completed by
- Gustavo Carneiro
Related branches
Related bugs
Sprints
Whiteboard
(?)