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 sl = SList!int(1, 2, 3); assert(sl.front == 1); sl.front = 0; assert(sl.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.