#pragma once #include "boost/smart_ptr/shared_ptr.h" namespace boost { template shared_ptr make_shared(TArgs&&... args) { return shared_ptr(new T(std::forward(args)...)); } }