]> git.lyx.org Git - lyx.git/blob - 3rdparty/boost/boost/parameter/aux_/pack/insert_tagged.hpp
Update to boost 1.72
[lyx.git] / 3rdparty / boost / boost / parameter / aux_ / pack / insert_tagged.hpp
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
6 #ifndef BOOST_PARAMETER_AUX_PACK_INSERT_TAGGED_HPP
7 #define BOOST_PARAMETER_AUX_PACK_INSERT_TAGGED_HPP
8
9 #include <boost/parameter/aux_/set.hpp>
10
11 namespace boost { namespace parameter { namespace aux {
12
13     // Inserts Tagged::key_type into the UserArgs set.
14     // Extra indirection to lazily evaluate Tagged::key_type.
15     template <typename UsedArgs, typename Tagged>
16     struct insert_tagged
17       : ::boost::parameter::aux::insert_<UsedArgs,typename Tagged::key_type>
18     {
19     };
20 }}} // namespace boost::parameter::aux
21
22 #endif  // include guard
23