Provide access to the first element in the list. The user must check that the list isn't empty, prior to calling this function.
a reference to the first element.
Complexity: O(1).
auto dl = DList!int(1, 2, 3); assert(dl.front == 1); dl.front = 0; assert(dl.front == 0);
See Implementation
Provide access to the first element in the list. The user must check that the list isn't empty, prior to calling this function.