2 // (C) Copyright Tobias Schwinger
4 // Use modification and distribution are subject to the boost Software License,
5 // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
7 //------------------------------------------------------------------------------
9 #ifndef BOOST_FT_FUNCTION_POINTER_HPP_INCLUDED
10 #define BOOST_FT_FUNCTION_POINTER_HPP_INCLUDED
12 #include <boost/mpl/aux_/lambda_support.hpp>
14 #include <boost/function_types/function_type.hpp>
18 namespace function_types
20 template<typename Types, typename Tag = null_tag> struct function_pointer
22 typedef typename function_types::function_type<Types,Tag>::type * type;
24 BOOST_MPL_AUX_LAMBDA_SUPPORT(2,function_pointer,(Types,Tag))