M
Mears
I'm pretty sure the answer is no, but thought I'd check. I'm trying
to protect a pointer to a C-based struct that needs to be deallocated
through an API call.
I was thinking of simply creating a wrapper class for the struct that
calls the API function in its destructor, but I'm hoping there is a
cleaner way of doing this.
to protect a pointer to a C-based struct that needs to be deallocated
through an API call.
I was thinking of simply creating a wrapper class for the struct that
calls the API function in its destructor, but I'm hoping there is a
cleaner way of doing this.