On Thu, 13 Oct 2011 09:27:55 -0400, Steven Schveighoffer wrote: > Recently, inout has become significantly useful in dmd. The latest > incarnation of the compiler in git has fixed all the previous issues > with inout (special thanks to Kenji Hara for creating the related pull > requests!) > > Since I was a main designer of the inout system, I figured I should try > and eat my own dogfood in terms of figuring out how well inout works for > my main D side project -- dcollections.
The new std.path will also benefit greatly from using inout. It contains a lot of functions which simply return a slice of an input array without modifying its contents. Currently, this const-ness is not enforced, but inout will change that. -Lars
