comparison DEPENDENCIES/generic/include/boost/concept/detail/general.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
63 : requirement<failed ************ Model::************> 63 : requirement<failed ************ Model::************>
64 {}; 64 {};
65 65
66 # endif 66 # endif
67 67
68 // Version check from https://svn.boost.org/trac/boost/changeset/82886
69 // (boost/static_assert.hpp)
70 #if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)))
71 #define BOOST_CONCEPT_UNUSED_TYPEDEF __attribute__((unused))
72 #else
73 #define BOOST_CONCEPT_UNUSED_TYPEDEF /**/
74 #endif
75
68 # define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \ 76 # define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \
69 typedef ::boost::concepts::detail::instantiate< \ 77 typedef ::boost::concepts::detail::instantiate< \
70 &::boost::concepts::requirement_<ModelFnPtr>::failed> \ 78 &::boost::concepts::requirement_<ModelFnPtr>::failed> \
71 BOOST_PP_CAT(boost_concept_check,__LINE__) 79 BOOST_PP_CAT(boost_concept_check,__LINE__) \
80 BOOST_CONCEPT_UNUSED_TYPEDEF
72 81
73 }} 82 }}
74 83
75 #endif // BOOST_CONCEPT_DETAIL_GENERAL_DWA2006429_HPP 84 #endif // BOOST_CONCEPT_DETAIL_GENERAL_DWA2006429_HPP