tag_template_keyword_arg.hpp 896 B

123456789101112131415161718192021222324252627282930
  1. // Copyright David Abrahams, Daniel Wallin 2003.
  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_PACK_TAG_TEMPLATE_KEYWORD_ARG_HPP
  6. #define BOOST_PARAMETER_AUX_PACK_TAG_TEMPLATE_KEYWORD_ARG_HPP
  7. #include <boost/parameter/template_keyword.hpp>
  8. #include <boost/parameter/config.hpp>
  9. namespace boost { namespace parameter { namespace aux {
  10. struct tag_template_keyword_arg
  11. {
  12. template <typename K, typename T>
  13. struct apply
  14. {
  15. typedef ::boost::parameter::template_keyword<K,T> type;
  16. };
  17. #if defined(BOOST_PARAMETER_CAN_USE_MP11)
  18. template <typename K, typename T>
  19. using fn = ::boost::parameter::template_keyword<K,T>;
  20. #endif
  21. };
  22. }}} // namespace boost::parameter::aux
  23. #endif // include guard