Proper way to create unique_ptr that holds an allocated array Proper way to create unique_ptr that holds an allocated array linux linux