Converting this to a shared ptr is easy:
MyObject * myObject = new MyObject( int n );
auto myObject = make_shared<MyObject>( n );
But what if my code is an array?
char * myChars = new char[n];
auto myChars = make_shared<char>????
I want the resulting pointer to point to an array which calls the default dtor on each element when it goes out of scope. Is that possible?