Chris@16: /*-----------------------------------------------------------------------------+ Chris@16: Copyright (c) 2009-2009: 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_CONCEPT_CHECK_HPP_JOFA_090913 Chris@16: #define BOOST_ICL_CONCEPT_CHECK_HPP_JOFA_090913 Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost{ namespace icl Chris@16: { Chris@16: Chris@16: BOOST_concept(EqualComparable,(Type)) Chris@16: { Chris@16: BOOST_CONCEPT_USAGE(EqualComparable) { Chris@16: require_boolean_expr(_left == _right); Chris@16: } Chris@16: private: Chris@16: Type _left, _right; Chris@16: }; Chris@16: Chris@16: }}// namespace boost icl Chris@16: Chris@16: Chris@16: #endif Chris@16: Chris@16: