On Fri, Jun 19, 2015 at 01:49:14PM +0000, Jonathan M Davis wrote: > On Friday, 19 June 2015 at 13:36:22 UTC, Andrei Alexandrescu > wrote: > >> 3. Shouldn't `front` functions be const? > > > > Good point. Made const. > > That's not necessarily a good idea. What if the element type > can't even be used when it's const? inout might work in that > case, but in general, you have to be _very_ careful with slapping > const on generic code. > > - Jonathan M Davis
The return type was const from the beginning; see also http://forum.dlang.org/post/[email protected]
