diff --git a/include/boost/function/function_template.hpp b/include/boost/function/function_template.hpp index 7358bd8..621390c 100644 --- a/include/boost/function/function_template.hpp +++ b/include/boost/function/function_template.hpp @@ -23,6 +23,7 @@ # include # include # include +# include #endif // BOOST_FUNCTION_FUNCTION_TEMPLATE_HPP // Type of the default allocator @@ -167,7 +168,8 @@ namespace boost { > struct BOOST_FUNCTION_GET_FUNCTION_INVOKER { - typedef typename ct_if<(is_void::value), + BOOST_STATIC_CONSTANT(bool, is_void_ = ::boost::is_void::value); + typedef typename ct_if struct BOOST_FUNCTION_GET_FUNCTION_OBJ_INVOKER { - typedef typename ct_if<(is_void::value), + BOOST_STATIC_CONSTANT(bool, is_void_ = ::boost::is_void::value); + typedef typename ct_if struct BOOST_FUNCTION_GET_STATELESS_FUNCTION_OBJ_INVOKER { - typedef typename ct_if<(is_void::value), + BOOST_STATIC_CONSTANT(bool, is_void_ = ::boost::is_void::value); + typedef typename ct_if