comparison DEPENDENCIES/generic/include/boost/icl/detail/concept_check.hpp @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
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 #include <boost/concept/detail/concept_def.hpp>
13
14 namespace boost{ namespace icl
15 {
16
17 BOOST_concept(EqualComparable,(Type))
18 {
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
28
29 #endif
30
31