21 #if __cplusplus >= 201103 || _MSC_VER >=1800
23 #define OVERRIDE override
31 #if (__cplusplus >= 201103 || _MSC_VER >=1800) && !(defined(__clang__) && defined(__APPLE__))
38 template<
typename T,
typename... Args>
39 void pushVector(std::vector<T> *vec, Args ...args)
42 vec->push_back(T(args...));
44 vec->emplace_back(args...);
51 static void populate(std::vector<T> &v)
54 template <
typename T,
typename...Args>
55 static void populate(std::vector<T> &v, T t, Args... args)
58 populate<T>(v, args...);
63 template<
typename T,
typename...Args>
64 static std::vector<T> createVector(Args...args)
66 std::vector<T> result = std::vector<T>();
67 Util::template populate<T>(result, args...);
Definition: cpp2011.hpp:49