SList.reverse

Reverses SList in-place. Performs no memory allocation.

Complexity: O(n)

struct SList(T)
void
reverse
()
if (
!is(T == shared)
)

Meta