The OpenD Programming Language

Appender.clear

Clears the managed array. This allows the elements of the array to be reused for appending.

Note: clear is disabled for immutable or const element types, due to the possibility that Appender might overwrite immutable data.

struct Appender(A)
@trusted pure nothrow
static if(isMutable!T)
void
clear
()

Meta