http://d.puremagic.com/issues/show_bug.cgi?id=8105
Summary: in ref Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: turkey...@gmail.com --- Comment #0 from Manu <turkey...@gmail.com> 2012-05-16 00:44:06 PDT --- 'in' is a nice keyword to have, it's small, safer, and self documenting, we use it all over the place: in T*, in T[], etc But we also use: ref T a lot for passing single objects. Currently we use: const ref T, but it would be nice if we could use: in ref T to match all our other function arguments. The additional 'scope' safety of 'in' is always nice too, which we wouldn't usually bother typing because it's too long and clutters the function declaration. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------