/usr/include/boost/lambda/detail
NameSizeModeActions
actions.hpp55920644editdlrm
arity_code.hpp28170644editdlrm
bind_functions.hpp566160644editdlrm
control_constructs_common.hpp12860644editdlrm
function_adaptors.hpp309280644editdlrm
is_instance_of.hpp43960644editdlrm
lambda_config.hpp8590644editdlrm
lambda_functors.hpp109790644editdlrm
lambda_functor_base.hpp221050644editdlrm
lambda_fwd.hpp17790644editdlrm
lambda_traits.hpp154230644editdlrm
member_ptr.hpp263570644editdlrm
operators.hpp170930644editdlrm
operator_actions.hpp38750644editdlrm
operator_lambda_func_base.hpp110750644editdlrm
operator_return_type_traits.hpp285680644editdlrm
ret.hpp103830644editdlrm
return_type_traits.hpp87980644editdlrm
select_functions.hpp24280644editdlrm
suppress_unused.hpp6200644editdlrm
Edit: /usr/include/boost/lambda/detail/actions.hpp (5592B)
// -- Boost Lambda Library - actions.hpp ---------------------------------- // Copyright (C) 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi) // // 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) // For more information, see www.boost.org // ---------------------------------------------------------------- #ifndef BOOST_LAMBDA_ACTIONS_HPP #define BOOST_LAMBDA_ACTIONS_HPP namespace boost { namespace lambda { template class action; // these need to be defined here, since the corresponding lambda // functions are members of lambda_functor classes class assignment_action {}; class subscript_action {}; template class other_action; // action for specifying the explicit return type template class explicit_return_type_action {}; // action for preventing the expansion of a lambda expression struct protect_action {}; // must be defined here, comma is a special case struct comma_action {}; // actions, for which the existence of protect is checked in return type // deduction. template struct is_protectable { BOOST_STATIC_CONSTANT(bool, value = false); }; // NOTE: comma action is protectable. Other protectable actions // are listed in operator_actions.hpp template<> struct is_protectable > { BOOST_STATIC_CONSTANT(bool, value = true); }; namespace detail { // this type is used in return type deductions to signal that deduction // did not find a result. It does not necessarily mean an error, it commonly // means that something else should be tried. class unspecified {}; } // function action is a special case: bind functions can be called with // the return type specialized explicitly e.g. bind(foo); // If this call syntax is used, the return type is stored in the latter // argument of function_action template. Otherwise the argument gets the type // 'unspecified'. // This argument is only relevant in the return type deduction code template class function_action {}; template class function_action<1, T> { public: template static RET apply(A1& a1) { return function_adaptor::type>:: template apply(a1); } }; template class function_action<2, T> { public: template static RET apply(A1& a1, A2& a2) { return function_adaptor::type>:: template apply(a1, a2); } }; template class function_action<3, T> { public: template static RET apply(A1& a1, A2& a2, A3& a3) { return function_adaptor::type>:: template apply(a1, a2, a3); } }; template class function_action<4, T> { public: template static RET apply(A1& a1, A2& a2, A3& a3, A4& a4) { return function_adaptor::type>:: template apply(a1, a2, a3, a4); } }; template class function_action<5, T> { public: template static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5) { return function_adaptor::type>:: template apply(a1, a2, a3, a4, a5); } }; template class function_action<6, T> { public: template static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6) { return function_adaptor::type>:: template apply(a1, a2, a3, a4, a5, a6); } }; template class function_action<7, T> { public: template static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6, A7& a7) { return function_adaptor::type>:: template apply(a1, a2, a3, a4, a5, a6, a7); } }; template class function_action<8, T> { public: template static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6, A7& a7, A8& a8) { return function_adaptor::type>:: template apply(a1, a2, a3, a4, a5, a6, a7, a8); } }; template class function_action<9, T> { public: template static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6, A7& a7, A8& a8, A9& a9) { return function_adaptor::type>:: template apply(a1, a2, a3, a4, a5, a6, a7, a8, a9); } }; template class function_action<10, T> { public: template static RET apply(A1& a1, A2& a2, A3& a3, A4& a4, A5& a5, A6& a6, A7& a7, A8& a8, A9& a9, A10& a10) { return function_adaptor::type>:: template apply(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10); } }; } // namespace lambda } // namespace boost #endif