File indexing completed on 2025-01-30 09:43:56
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_ICL_PREDICATES_STD_EQUAL_HPP_JOFA_101102
0009 #define BOOST_ICL_PREDICATES_STD_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> struct std_equal : public relation<Type,Type>
0017 {
0018 bool operator()(const Type& lhs, const Type& rhs)const
0019 {
0020 return lhs == rhs;
0021 }
0022 };
0023
0024
0025
0026 template<>
0027 inline std::string unary_template_to_string<icl::std_equal>::apply()
0028 { return "=="; }
0029
0030 }}
0031
0032 #endif
0033