ext-boost/boost/icl/detail/concept_check.hpp
2016-03-02 00:27:27 -05:00

32 lines
909 B
C++

/*-----------------------------------------------------------------------------+
Copyright (c) 2009-2009: Joachim Faulhaber
+------------------------------------------------------------------------------+
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENCE.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
+-----------------------------------------------------------------------------*/
#ifndef BOOST_ICL_CONCEPT_CHECK_HPP_JOFA_090913
#define BOOST_ICL_CONCEPT_CHECK_HPP_JOFA_090913
#include <boost/concept_check.hpp>
#include <boost/concept/detail/concept_def.hpp>
namespace boost{ namespace icl
{
BOOST_concept(EqualComparable,(Type))
{
BOOST_CONCEPT_USAGE(EqualComparable) {
require_boolean_expr(_left == _right);
}
private:
Type _left, _right;
};
}}// namespace boost icl
#endif