error:no matching function for call to ‘boost::shared_array<int>::shared_array(int)
将 shared_array<int> ptr(0) 改为 shared_array<int> ptr((int*)0) 即可
error:no matching function for call to ‘boost::shared_array<int>::shared_array(int)
将 shared_array<int> ptr(0) 改为 shared_array<int> ptr((int*)0) 即可