#pragma once #ifndef MESSMER_CPPUTILS_GCC48COMPATIBILITY_H #define MESSMER_CPPUTILS_GCC48COMPATIBILITY_H #include #if __GNUC__ == 4 && __GNUC_MINOR__ == 8 // Add std::make_unique namespace std { template inline unique_ptr make_unique(Args&&... args) { return unique_ptr(new T(std::forward(args)...)); } } #endif #endif