std::allocate_shared,std::allocate_shared_default_init (3) Linux Manual Page
std::allocate_shared,std::allocate_shared_default_init – std::allocate_shared,std::allocate_shared_default_init Synopsis Defined in header <memory> template< class T, class Alloc, class… Args > (1) (since C++11) shared_ptr<T> allocate_shared( const Alloc& alloc, Args&&… args ); (T is non-array) template< class T, class Alloc > (2) (since C++20) shared_ptr<T> allocate_shared( const Alloc& alloc, std::size_t N ); (T is U[]) template< class T, class Alloc…
