// Copyright David Abrahams, Daniel Wallin 2003. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PARAMETER_AUX_PACK_TAG_KEYWORD_ARG_REF_HPP #define BOOST_PARAMETER_AUX_PACK_TAG_KEYWORD_ARG_REF_HPP #include #include #include namespace boost { namespace parameter { namespace aux { template < typename Keyword , typename ActualArg #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) , typename = typename ::boost::parameter::aux ::is_cv_reference_wrapper::type #endif > struct tag_ref { typedef ::boost::parameter::aux::tagged_argument< Keyword , typename ::boost::parameter::aux ::unwrap_cv_reference::type > type; }; }}} // namespace boost::parameter::aux_ #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) #include namespace boost { namespace parameter { namespace aux { template struct tag_ref { typedef ::boost::parameter::aux ::tagged_argument type; }; }}} // namespace boost::parameter::aux_ #endif // Borland workarounds needed. namespace boost { namespace parameter { namespace aux { struct tag_keyword_arg_ref { template struct apply { typedef typename ::boost::parameter::aux::tag_ref::type type; }; #if defined(BOOST_PARAMETER_CAN_USE_MP11) template using fn = typename ::boost::parameter::aux::tag_ref::type; #endif }; }}} // namespace boost::parameter::aux #endif // include guard