#pragma once #include "Traits.hpp" namespace geode::modifier { struct compare { template struct constructor { constexpr static inline bool value = false; }; template struct constructor< Derived, Base, Ret(Parameters...), std::void_t(&Derived::constructor ))>> { constexpr static inline bool value = true; }; template struct destructor { constexpr static inline bool value = false; }; template struct destructor< Derived, Base, Ret(Parameters...), std::void_t(&Derived::destructor) )>> { constexpr static inline bool value = true; }; #include }; }