digitalmars.D.bugs - [Issue 5875] New: cannot implicitly convert delegate to const(delegate)
- d-bugmail puremagic.com (24/24) Apr 23 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5875
- d-bugmail puremagic.com (12/12) May 22 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5875
http://d.puremagic.com/issues/show_bug.cgi?id=5875 Summary: cannot implicitly convert delegate to const(delegate) Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: necroment gmail.com void main() { void function() a; void delegate() b; const (void function()) c = a; //ok const (void delegate()) d = b; //error } This behavior breaks std.algorithm.move, which makes std.container not work with delegate types. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 23 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5875 Maxim Fomin <maxim maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |maxim maxim-fomin.ru Resolution| |WORKSFORME --- Compiles in 2.063. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 22 2013