If you perform ptr = new std::size_t[20] and then delete [] ptr;, the correct number of bytes are removed. So there should be a way to create a lan
ptr = new std::size_t[20]
delete [] ptr;