comparison DEPENDENCIES/generic/include/boost/utility/result_of.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
66 namespace boost { 66 namespace boost {
67 67
68 template<typename F> struct result_of; 68 template<typename F> struct result_of;
69 template<typename F> struct tr1_result_of; // a TR1-style implementation of result_of 69 template<typename F> struct tr1_result_of; // a TR1-style implementation of result_of
70 70
71 #if !defined(BOOST_NO_SFINAE) && !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) 71 #if !defined(BOOST_NO_SFINAE)
72 namespace detail { 72 namespace detail {
73 73
74 BOOST_MPL_HAS_XXX_TRAIT_DEF(result_type) 74 BOOST_MPL_HAS_XXX_TRAIT_DEF(result_type)
75 75
76 // Work around a nvcc bug by only defining has_result when it's needed.
77 #ifdef BOOST_RESULT_OF_USE_TR1_WITH_DECLTYPE_FALLBACK
76 BOOST_MPL_HAS_XXX_TEMPLATE_DEF(result) 78 BOOST_MPL_HAS_XXX_TEMPLATE_DEF(result)
79 #endif
77 80
78 template<typename F, typename FArgs, bool HasResultType> struct tr1_result_of_impl; 81 template<typename F, typename FArgs, bool HasResultType> struct tr1_result_of_impl;
79 82
80 template<typename F> struct cpp0x_result_of; 83 template<typename F> struct cpp0x_result_of;
81 84