Automatic C++ Return Type Narrowing

Registered by Gustavo Carneiro on 2007-08-15

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 on 2007-08-16
Completed by
Gustavo Carneiro on 2007-08-16

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.