Ответ: Да.
1 . std::make_unique:
Начиная с C++14 можно создавать через make_unique
auto arr = std::make_unique<int[]>(5);2 . std::make_shared:
В стандарте C++20 появилась возможность создавать и make_shared
auto arr = std::make_shared<int[]>(5);
БИ Библиотека C/C++ разработчика | cpp, boost, qt @cppproglib · 16.9K subscribers auto arr = std::make_unique<int[]>(5);auto arr = std::make_shared<int[]>(5);