Как создать массив shared_ptr на с++ в Xcode?

Влетает ошибка No matching constructor for initialization of 'shared_ptr' на строке инциализации масива в Xcode. В чем ошибка не понимаю.

#include <iostream>
#include <memory>

using namespace std;

int main() {

    shared_ptr<int[]> p(new int[5]);

    p[3] = 0;
    return 0;
}

Ответы (0 шт):