]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/parameter/test/deduced_dependent_predicate.cpp
1 // Copyright Daniel Wallin 2006. Use, modification and distribution is
2 // subject to the Boost Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 #include <boost/parameter/parameters.hpp>
6 #include <boost/parameter/name.hpp>
7 #include <boost/parameter/binding.hpp>
8 #include <boost/type_traits.hpp>
11 namespace parameter
= boost::parameter
;
12 namespace mpl
= boost::mpl
;
14 BOOST_PARAMETER_NAME(x
)
15 BOOST_PARAMETER_NAME(y
)
16 BOOST_PARAMETER_NAME(z
)
20 using namespace parameter
;
22 using boost::remove_reference
;
23 using boost::add_reference
;
30 #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
33 , remove_reference
<binding
<mpl::_2
,tag::x
> >
37 add_reference
<mpl::_1
>
38 , binding
<mpl::_2
,tag::x
>
54 #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
57 , remove_reference
<binding
<mpl::_2
,tag::x
> >
61 add_reference
<mpl::_1
>
62 , binding
<mpl::_2
,tag::x
>