Warn when compiling with C++14 or greater.

This commit is contained in:
Colin Wallace
2018-03-10 00:28:58 -08:00
parent 0f993895d4
commit 876615e3a3

View File

@@ -6,6 +6,10 @@
#include <memory>
#include <utility>
#if (__cplusplus >= 201402L)
#warning "This file should now be removed! The functions it provides are part of the C++14 standard."
#endif
/// Shim for http://en.cppreference.com/w/cpp/memory/unique_ptr/make_unique
template<typename T, typename... Args>
std::unique_ptr<T> make_unique(Args&&... args)