Data.deleteContents

This used to be an unsafe method which deleted the wrapped data. Now that Data is refcounted, this simply calls clear() and additionally asserts that this Data is the only Data holding a reference to the wrapper.

struct Data
void
deleteContents
()
out { assert (wrapper is null); }

Meta