function_dispatch_tuple.hpp 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. // Copyright Daniel Wallin 2006.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_PARAMETER_AUX_PREPROCESSOR_IMPL_FUNCTION_DISPATCH_TUPLE_HPP
  6. #define BOOST_PARAMETER_AUX_PREPROCESSOR_IMPL_FUNCTION_DISPATCH_TUPLE_HPP
  7. #include <boost/preprocessor/tuple/elem.hpp>
  8. // Accessor macros for the input tuple to the dispatch macros.
  9. #define BOOST_PARAMETER_FUNCTION_DISPATCH_BASE_NAME(x) \
  10. BOOST_PP_TUPLE_ELEM(5, 0, x)
  11. /**/
  12. #define BOOST_PARAMETER_FUNCTION_DISPATCH_SPLIT_ARGS(x) \
  13. BOOST_PP_TUPLE_ELEM(5, 1, x)
  14. /**/
  15. #define BOOST_PARAMETER_FUNCTION_DISPATCH_IS_MEMBER(x) \
  16. BOOST_PP_TUPLE_ELEM(5, 2, x)
  17. /**/
  18. #define BOOST_PARAMETER_FUNCTION_DISPATCH_IS_CONST(x) \
  19. BOOST_PP_TUPLE_ELEM(5, 3, x)
  20. /**/
  21. #define BOOST_PARAMETER_FUNCTION_DISPATCH_TAG_NAMESPACE(x) \
  22. BOOST_PP_TUPLE_ELEM(5, 4, x)
  23. /**/
  24. #endif // include guard