On 2013-02-09 12:57, Robert wrote: > As you can't actually encapsulate the array with free functions just do: > > ref T front(T)(T[] arr); > > There is no value in using an actual setter. Ah, sorry, you're right. It's an lvalue, so no setter is needed.