Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/tti/has_function.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/tti/has_function.hpp Fri Sep 04 12:01:02 2015 +0100 +++ b/DEPENDENCIES/generic/include/boost/tti/has_function.hpp Mon Sep 07 11:12:49 2015 +0100 @@ -7,6 +7,7 @@ #if !defined(BOOST_TTI_HAS_FUNCTION_HPP) #define BOOST_TTI_HAS_FUNCTION_HPP +#include <boost/config.hpp> #include <boost/function_types/property_tags.hpp> #include <boost/mpl/vector.hpp> #include <boost/preprocessor/cat.hpp> @@ -58,9 +59,11 @@ #define BOOST_TTI_TRAIT_HAS_FUNCTION(trait,name) \ BOOST_TTI_DETAIL_TRAIT_HAS_FUNCTION(trait,name) \ template<class BOOST_TTI_TP_T,class BOOST_TTI_TP_R,class BOOST_TTI_TP_FS = boost::mpl::vector<>,class BOOST_TTI_TP_TAG = boost::function_types::null_tag> \ - struct trait : \ - BOOST_PP_CAT(trait,_detail_hf)<BOOST_TTI_TP_T,BOOST_TTI_TP_R,BOOST_TTI_TP_FS,BOOST_TTI_TP_TAG> \ + struct trait \ { \ + typedef typename \ + BOOST_PP_CAT(trait,_detail_hf)<BOOST_TTI_TP_T,BOOST_TTI_TP_R,BOOST_TTI_TP_FS,BOOST_TTI_TP_TAG>::type type; \ + BOOST_STATIC_CONSTANT(bool,value=type::value); \ }; \ /**/