You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
31 lines
909 B
31 lines
909 B
/*-----------------------------------------------------------------------------+ |
|
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 |
|
|
|
|
|
|