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

Reply via email to