13 #ifndef TINYMPL_EQUAL_TO_HPP
14 #define TINYMPL_EQUAL_TO_HPP
16 #include <type_traits>
27 template<
class A,
class B>
struct equal_to : std::is_same<A,B> {};
28 template<
class T,
class U,T t,U u>
struct equal_to<
29 std::integral_constant<T,t>,
30 std::integral_constant<U,u> > : std::integral_constant<bool,t ==u> {};
35 #endif // TINYMPL_EQUAL_TO_HPP
Determines whether the types A and B are equal.
Definition: equal_to.hpp:27