-/* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2015 Jay Freeman (saurik)
+/* Cycript - The Truly Universal Scripting Language
+ * Copyright (C) 2009-2016 Jay Freeman (saurik)
*/
/* GNU Affero General Public License, Version 3 {{{ */
return static_cast<T &&>(t);
}
+template<class T>
+inline typename cy::remove_reference<T>::type &&Move(T &&t) {
+ return static_cast<typename cy::remove_reference<T>::type &&>(t);
+}
+
+template<bool B, typename T = void> struct EnableIf {};
+template<typename T> struct EnableIf<true, T> { typedef T type; };
+
}
#endif/*CYCRIPT_UTILITY_HPP*/