Thread overview |
---|
October 08, 2008 [Issue 2400] New: return const proposals | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2400 Summary: return const proposals Product: D Version: unspecified Platform: All URL: http://www.digitalmars.com/webnews/newsgroups.php?art_gr oup=digitalmars.D&article_id=76886 OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: terranium@yandex.ru This RFE was extracted from bug 2094 (see comment #6). > > we expect to get invariant data from invariant object. > > Then define an invariant function. This RFE is aimed at eliminating code duplication. > Const is the equalizer, and it's perfectly > acceptable to get invariant data as const. Not quite perfectly. > It doesn't mean that if the data is invariant, the > function magically returns invariant. But we still want some magic. -- |
October 08, 2008 [Issue 2400] return const proposals | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2400 ------- Comment #1 from schveiguy@yahoo.com 2008-10-08 12:31 ------- My proposal: bug 1961 -- |
June 10, 2011 [Issue 2400] return const, return invariant | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2400 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies@gmail.com --- Comment #2 from yebblies <yebblies@gmail.com> 2011-06-10 10:23:11 PDT --- Closing, as a different proposal has been accepted and (partially) implemented. (issue 1961) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 10, 2011 [Issue 2400] return const, return invariant | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2400 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation