drop

Functions: drop

drop

void drop<T>(T value)

Ends the lifetime of the given value immediately, running its destructor (if any). This is useful for consuming a value on a code path that doesn't otherwise use it.