]> git.saurik.com Git - cycript.git/blobdiff - Utility.hpp
Support 7a09b83's new boolean argument on startVm.
[cycript.git] / Utility.hpp
index 69d07123a1136343965d7ad594849862d8ce1209..5cfe6abe9ef2debaf67324c2adccced4904efea7 100644 (file)
@@ -49,6 +49,9 @@ 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*/