Chris@16: /*-----------------------------------------------------------------------------+ Chris@16: Copyright (c) 2010-2010: Joachim Faulhaber Chris@16: +------------------------------------------------------------------------------+ Chris@16: Distributed under the Boost Software License, Version 1.0. Chris@16: (See accompanying file LICENCE.txt or copy at Chris@16: http://www.boost.org/LICENSE_1_0.txt) Chris@16: +-----------------------------------------------------------------------------*/ Chris@16: #ifndef BOOST_ICL_PREDICATES_ELEMENT_EQUAL_HPP_JOFA_101102 Chris@16: #define BOOST_ICL_PREDICATES_ELEMENT_EQUAL_HPP_JOFA_101102 Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost{namespace icl Chris@16: { Chris@16: template Chris@16: struct element_equal : public relation Chris@16: { Chris@16: bool operator()(const Type& lhs, const Type& rhs)const Chris@16: { Chris@16: return is_element_equal(lhs, rhs); Chris@16: } Chris@16: }; Chris@16: Chris@16: template<> Chris@16: inline std::string unary_template_to_string::apply() Chris@16: { return "="; } Chris@16: Chris@16: }} // namespace icl boost Chris@16: Chris@16: #endif Chris@16: