Yes, this is a nice general interface (especially, since the caller does not need to know the type of the internally allocated memory).
Yes, this is a nice general interface (especially, since the caller does not need to know the type of the internally allocated memory).