1 /*-----------------------------------------------------------------------------+ 2 Copyright (c) 2009-2009: Joachim Faulhaber 3 +------------------------------------------------------------------------------+ 4 Distributed under the Boost Software License, Version 1.0. 5 (See accompanying file LICENCE.txt or copy at 6 http://www.boost.org/LICENSE_1_0.txt) 7 +-----------------------------------------------------------------------------*/ 8 #ifndef BOOST_ICL_CONCEPT_CHECK_HPP_JOFA_090913 9 #define BOOST_ICL_CONCEPT_CHECK_HPP_JOFA_090913 10 11 #include <boost/concept_check.hpp> 12 13 #include <boost/concept/detail/concept_def.hpp> 14 namespace boost{ namespace icl 15 { 16 17 BOOST_concept(EqualComparable,(Type)) 18 { BOOST_CONCEPT_USAGE(EqualComparable)19 BOOST_CONCEPT_USAGE(EqualComparable) { 20 require_boolean_expr(_left == _right); 21 } 22 private: 23 Type _left, _right; 24 }; 25 26 }}// namespace boost icl 27 #include <boost/concept/detail/concept_undef.hpp> 28 29 #endif 30 31 32