comparison 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
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
5 // http://www.boost.org/LICENSE_1_0.txt). 5 // http://www.boost.org/LICENSE_1_0.txt).
6 6
7 #if !defined(BOOST_TTI_HAS_FUNCTION_HPP) 7 #if !defined(BOOST_TTI_HAS_FUNCTION_HPP)
8 #define BOOST_TTI_HAS_FUNCTION_HPP 8 #define BOOST_TTI_HAS_FUNCTION_HPP
9 9
10 #include <boost/config.hpp>
10 #include <boost/function_types/property_tags.hpp> 11 #include <boost/function_types/property_tags.hpp>
11 #include <boost/mpl/vector.hpp> 12 #include <boost/mpl/vector.hpp>
12 #include <boost/preprocessor/cat.hpp> 13 #include <boost/preprocessor/cat.hpp>
13 #include <boost/tti/detail/dfunction.hpp> 14 #include <boost/tti/detail/dfunction.hpp>
14 #include <boost/tti/gen/has_function_gen.hpp> 15 #include <boost/tti/gen/has_function_gen.hpp>
56 57
57 */ 58 */
58 #define BOOST_TTI_TRAIT_HAS_FUNCTION(trait,name) \ 59 #define BOOST_TTI_TRAIT_HAS_FUNCTION(trait,name) \
59 BOOST_TTI_DETAIL_TRAIT_HAS_FUNCTION(trait,name) \ 60 BOOST_TTI_DETAIL_TRAIT_HAS_FUNCTION(trait,name) \
60 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> \ 61 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> \
61 struct trait : \ 62 struct trait \
62 BOOST_PP_CAT(trait,_detail_hf)<BOOST_TTI_TP_T,BOOST_TTI_TP_R,BOOST_TTI_TP_FS,BOOST_TTI_TP_TAG> \
63 { \ 63 { \
64 typedef typename \
65 BOOST_PP_CAT(trait,_detail_hf)<BOOST_TTI_TP_T,BOOST_TTI_TP_R,BOOST_TTI_TP_FS,BOOST_TTI_TP_TAG>::type type; \
66 BOOST_STATIC_CONSTANT(bool,value=type::value); \
64 }; \ 67 }; \
65 /**/ 68 /**/
66 69
67 /// Expands to a metafunction which tests whether a member function or a static member function with a particular name and signature exists. 70 /// Expands to a metafunction which tests whether a member function or a static member function with a particular name and signature exists.
68 /** 71 /**