geode/loader/include/Geode/meta/common.hpp
2022-07-30 19:24:03 +03:00

14 lines
No EOL
367 B
C++

#ifndef GEODE_CORE_META_COMMON_HPP
#define GEODE_CORE_META_COMMON_HPP
#include <type_traits>
namespace geode::core::meta {
template <class Type, class... Compare>
static constexpr bool any_of = (std::is_same_v<Type, Compare> || ...);
template <class... Classes>
static constexpr bool always_false = false;
}
#endif /* GEODE_CORE_META_COMMON_HPP */