Template:cpp/memory/destroy example

The following example demonstrates how to use to destroy a contiguous sequence of elements.