insert_tagged.hpp 755 B

1234567891011121314151617181920212223
  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_INSERT_TAGGED_HPP
  6. #define BOOST_PARAMETER_AUX_PACK_INSERT_TAGGED_HPP
  7. #include <boost/parameter/aux_/set.hpp>
  8. namespace boost { namespace parameter { namespace aux {
  9. // Inserts Tagged::key_type into the UserArgs set.
  10. // Extra indirection to lazily evaluate Tagged::key_type.
  11. template <typename UsedArgs, typename Tagged>
  12. struct insert_tagged
  13. : ::boost::parameter::aux::insert_<UsedArgs,typename Tagged::key_type>
  14. {
  15. };
  16. }}} // namespace boost::parameter::aux
  17. #endif // include guard