#ifndef MAKE_UNIQUE_HH #define MAKE_UNIQUE_HH #include namespace std { template inline std::unique_ptr make_unique(Args&&... args) { return std::unique_ptr(new T(std::forward(args)...)); } } // namespace std #endif // MAKE_UNIQUE_HH