29 template <
typename T,
typename... Args>
30 std::unique_ptr<T> make_unique(Args&&... args) {
31 return std::unique_ptr<T>(
new T(std::forward<Args>(args)...));
39 void operator()(FILE* ptr)
const {
47 using unique_FILE = std::unique_ptr<FILE, FILEDeleter>;
53 unique_FILE make_unique_FILE(
const char* filename,
const char* flags);
Definition: category_registry.h:32