Function List.back

Returns a reference to the last element in the list.

inout ref inout(List.ElementType) back() pure nothrow @nogc @system;

Calling this function on an empty container causes null dereference.