[Solved] Using make_shared with char[] or int[] [closed]
Visual Studio 2015 doesn’t support the C++17 standard. Prior to C++17 standard you can’t have the std::shared_ptr<T[]> pointer. But even in C++17 the std::make_shared function doesn’t support array types so you would have to use the boost::make_shared instead. Another alternative is to use the unique pointer in combination with the std::make_unique which does support the … Read more