The OpenD Programming Language

SList.clear

Removes all contents from the SList.

Postcondition: empty

Complexity: O(1)

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

Meta