Warning, file /include/boost/phoenix/bind/bind_function_object.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef PHOENIX_BIND_BIND_FUNCTION_OBJECT_HPP
0009 #define PHOENIX_BIND_BIND_FUNCTION_OBJECT_HPP
0010
0011 #include <boost/phoenix/core/limits.hpp>
0012
0013 #if defined(BOOST_PHOENIX_NO_VARIADIC_BIND)
0014 # include <boost/phoenix/bind/detail/cpp03/bind_function_object.hpp>
0015 #else
0016
0017 #include <boost/phoenix/core/expression.hpp>
0018 #include <boost/phoenix/core/detail/function_eval.hpp>
0019
0020 namespace boost { namespace phoenix
0021 {
0022 template <typename F>
0023 inline typename detail::expression::function_eval<F>::type const
0024 bind(F f)
0025 {
0026 return detail::expression::function_eval<F>::make(f);
0027 }
0028
0029 template <typename F, typename... A>
0030 inline typename detail::expression::function_eval<F, A...>::type const
0031 bind(F f, A const&... a)
0032 {
0033 return detail::expression::function_eval<F, A...>::make(f, a...);
0034 }
0035 }}
0036
0037 #endif
0038 #endif