File indexing completed on 2025-01-30 09:43:56
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_ICL_PREDICATES_ELEMENT_EQUAL_HPP_JOFA_101102
0009 #define BOOST_ICL_PREDICATES_ELEMENT_EQUAL_HPP_JOFA_101102
0010
0011 #include <boost/icl/type_traits/predicate.hpp>
0012 #include <boost/icl/type_traits/type_to_string.hpp>
0013
0014 namespace boost{namespace icl
0015 {
0016 template <class Type>
0017 struct element_equal : public relation<Type,Type>
0018 {
0019 bool operator()(const Type& lhs, const Type& rhs)const
0020 {
0021 return is_element_equal(lhs, rhs);
0022 }
0023 };
0024
0025 template<>
0026 inline std::string unary_template_to_string<icl::element_equal>::apply()
0027 { return "="; }
0028
0029 }}
0030
0031 #endif
0032