The documentation states that it's dependent on the standard-library for C++11. However, the examples are relying on C++14.
Adding the following to your source(or a header) will make the examples work without modifying them -
#if __cplusplus < 201402L
template<typename T, typename... Args>
std::unique_ptr<T> make_unique(Args&&... args)
{
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}
#endif
The documentation states that it's dependent on the standard-library for C++11. However, the examples are relying on C++14.
Adding the following to your source(or a header) will make the examples work without modifying them -