diff options
author | Kevin Smith <git@kismith.co.uk> | 2013-01-12 18:41:34 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2013-01-13 10:36:26 (GMT) |
commit | f3bc816af1b0d61452de973963e453bf3b3f95a2 (patch) | |
tree | e895f8afa3580e6cff6f5ad2017d45bf147a17c2 /3rdParty/Boost/src/boost/phoenix/bind/preprocessed/bind_function_object_10.hpp | |
parent | 188fc285c6555eadd3c9d50ab8a94adcade78d89 (diff) | |
download | swift-contrib-f3bc816af1b0d61452de973963e453bf3b3f95a2.zip swift-contrib-f3bc816af1b0d61452de973963e453bf3b3f95a2.tar.bz2 |
Adding in the spirit Boost stuff
Change-Id: I4f127ce61667243b64081b0aa309028d5077045f
Diffstat (limited to '3rdParty/Boost/src/boost/phoenix/bind/preprocessed/bind_function_object_10.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/phoenix/bind/preprocessed/bind_function_object_10.hpp | 222 |
1 files changed, 222 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/phoenix/bind/preprocessed/bind_function_object_10.hpp b/3rdParty/Boost/src/boost/phoenix/bind/preprocessed/bind_function_object_10.hpp new file mode 100644 index 0000000..afe633b --- /dev/null +++ b/3rdParty/Boost/src/boost/phoenix/bind/preprocessed/bind_function_object_10.hpp @@ -0,0 +1,222 @@ +/*============================================================================= + Copyright (c) 2001-2007 Joel de Guzman + + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +==============================================================================*/ + + + + + + + + template < + typename F + , typename A0 + > + inline + typename detail::expression::function_eval< + F + , A0 + >::type const + bind(F f, A0 const& a0) + { + return + detail::expression::function_eval<F, A0>::make( + f + , a0 + ); + } + + + + + + + + template < + typename F + , typename A0 , typename A1 + > + inline + typename detail::expression::function_eval< + F + , A0 , A1 + >::type const + bind(F f, A0 const& a0 , A1 const& a1) + { + return + detail::expression::function_eval<F, A0 , A1>::make( + f + , a0 , a1 + ); + } + + + + + + + + template < + typename F + , typename A0 , typename A1 , typename A2 + > + inline + typename detail::expression::function_eval< + F + , A0 , A1 , A2 + >::type const + bind(F f, A0 const& a0 , A1 const& a1 , A2 const& a2) + { + return + detail::expression::function_eval<F, A0 , A1 , A2>::make( + f + , a0 , a1 , a2 + ); + } + + + + + + + + template < + typename F + , typename A0 , typename A1 , typename A2 , typename A3 + > + inline + typename detail::expression::function_eval< + F + , A0 , A1 , A2 , A3 + >::type const + bind(F f, A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3) + { + return + detail::expression::function_eval<F, A0 , A1 , A2 , A3>::make( + f + , a0 , a1 , a2 , a3 + ); + } + + + + + + + + template < + typename F + , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 + > + inline + typename detail::expression::function_eval< + F + , A0 , A1 , A2 , A3 , A4 + >::type const + bind(F f, A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4) + { + return + detail::expression::function_eval<F, A0 , A1 , A2 , A3 , A4>::make( + f + , a0 , a1 , a2 , a3 , a4 + ); + } + + + + + + + + template < + typename F + , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 + > + inline + typename detail::expression::function_eval< + F + , A0 , A1 , A2 , A3 , A4 , A5 + >::type const + bind(F f, A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4 , A5 const& a5) + { + return + detail::expression::function_eval<F, A0 , A1 , A2 , A3 , A4 , A5>::make( + f + , a0 , a1 , a2 , a3 , a4 , a5 + ); + } + + + + + + + + template < + typename F + , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 + > + inline + typename detail::expression::function_eval< + F + , A0 , A1 , A2 , A3 , A4 , A5 , A6 + >::type const + bind(F f, A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4 , A5 const& a5 , A6 const& a6) + { + return + detail::expression::function_eval<F, A0 , A1 , A2 , A3 , A4 , A5 , A6>::make( + f + , a0 , a1 , a2 , a3 , a4 , a5 , a6 + ); + } + + + + + + + + template < + typename F + , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 + > + inline + typename detail::expression::function_eval< + F + , A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 + >::type const + bind(F f, A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4 , A5 const& a5 , A6 const& a6 , A7 const& a7) + { + return + detail::expression::function_eval<F, A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7>::make( + f + , a0 , a1 , a2 , a3 , a4 , a5 , a6 , a7 + ); + } + + + + + + + + template < + typename F + , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 + > + inline + typename detail::expression::function_eval< + F + , A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8 + >::type const + bind(F f, A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4 , A5 const& a5 , A6 const& a6 , A7 const& a7 , A8 const& a8) + { + return + detail::expression::function_eval<F, A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8>::make( + f + , a0 , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8 + ); + } |