#ifndef MIGRAPH_GUARD_MIGRAPHLIB_MAKE_SHARED_ARRAY_HPP #define MIGRAPH_GUARD_MIGRAPHLIB_MAKE_SHARED_ARRAY_HPP #include #include namespace migraph { inline namespace MIGRAPH_INLINE_NS { template std::shared_ptr make_shared_array(size_t size) { return std::shared_ptr(new T[size], std::default_delete()); } } // inline namespace MIGRAPH_INLINE_NS } // namespace migraph #endif