http://d.puremagic.com/issues/show_bug.cgi?id=9601
Summary: Make regular D objects on closures
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Denis Shelomovskij <[email protected]> 2013-02-27
12:57:11 MSK ---
The idea is to make created delegate data pointer referring to a valid D object
just like for class member function.
It will allow passing closure delegate to functions where such objects are
expected and controlling/watching delegate lifetime.
Once it will be implemented the only "raw" delegates would be struct member
function delegates? which are used rarely and can easily be avoided.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------