]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/parameter/aux_/pack/tag_keyword_arg.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / parameter / aux_ / pack / tag_keyword_arg.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_TAG_KEYWORD_ARG_HPP
7 #define BOOST_PARAMETER_AUX_PACK_TAG_KEYWORD_ARG_HPP
8
9 #include <boost/parameter/aux_/tag.hpp>
10 #include <boost/parameter/config.hpp>
11
12 namespace boost { namespace parameter { namespace aux {
13
14 struct tag_keyword_arg
15 {
16 template <typename K, typename T>
17 struct apply
18 {
19 typedef typename ::boost::parameter::aux::tag<K,T>::type type;
20 };
21
22 #if defined(BOOST_PARAMETER_CAN_USE_MP11)
23 template <typename K, typename T>
24 using fn = typename ::boost::parameter::aux::tag<K,T>::type;
25 #endif
26 };
27 }}} // namespace boost::parameter::aux
28
29 #endif // include guard
30