X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/dbf05bfd2ab79568fe706daa9112037192d4d9dd..78b24692d45f090f846e4c327ca7fa2ee6d302eb:/Utility.hpp diff --git a/Utility.hpp b/Utility.hpp index 9111eba..5cfe6ab 100644 --- a/Utility.hpp +++ b/Utility.hpp @@ -1,5 +1,5 @@ -/* 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 {{{ */ @@ -49,6 +49,9 @@ inline typename cy::remove_reference::type &&Move(T &&t) { return static_cast::type &&>(t); } +template struct EnableIf {}; +template struct EnableIf { typedef T type; }; + } #endif/*CYCRIPT_UTILITY_HPP*/