// Copyright Daniel Wallin 2006. // 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 ACTIV_BOOST_PARAMETER_SET_060912_HPP #define ACTIV_BOOST_PARAMETER_SET_060912_HPP #include #if defined(ACTIV_BOOST_PARAMETER_CAN_USE_MP11) #include namespace Boost { namespace parameter { namespace aux { typedef ::Boost::mp11::mp_list<> set0; }}} // namespace Boost::parameter::aux #include namespace Boost { namespace parameter { namespace aux { template struct insert_ { using type = ::Boost::mp11::mp_insert_c; }; }}} // namespace Boost::parameter::aux #include #include #include namespace Boost { namespace parameter { namespace aux { template struct has_key_ { using type = ::Boost::mp11::mp_if< ::Boost::mp11::mp_empty , ::Boost::mp11::mp_false , ::std::is_same< ::Boost::mp11::mp_find , ::Boost::mp11::mp_size > >; }; }}} // namespace Boost::parameter::aux #elif ACTIV_BOOST_WORKAROUND(ACTIV_BOOST_BORLANDC, ACTIV_BOOST_TESTED_AT(0x564)) #include namespace Boost { namespace parameter { namespace aux { typedef ::Boost::mpl::list0<> set0; }}} // namespace Boost::parameter::aux #include namespace Boost { namespace parameter { namespace aux { template struct insert_ : ::Boost::mpl::push_front { }; }}} // namespace Boost::parameter::aux #include #include #include #include #include namespace Boost { namespace parameter { namespace aux { template struct has_key_ { typedef typename ::Boost::mpl::find::type iter; typedef typename ::Boost::mpl::if_< ::Boost::is_same::type> , ::Boost::mpl::false_ , ::Boost::mpl::true_ >::type type; }; }}} // namespace Boost::parameter::aux #else // !ACTIV_BOOST_PARAMETER_CAN_USE_MP11 && Borland workarounds not needed #include namespace Boost { namespace parameter { namespace aux { typedef ::Boost::mpl::set0<> set0; }}} // namespace Boost::parameter::aux #include namespace Boost { namespace parameter { namespace aux { template struct insert_ : ::Boost::mpl::insert { }; }}} // namespace Boost::parameter::aux #include namespace Boost { namespace parameter { namespace aux { template struct has_key_ : ::Boost::mpl::has_key { }; }}} // namespace Boost::parameter::aux #endif // ACTIV_BOOST_PARAMETER_CAN_USE_MP11 || Borland workarounds needed #endif // include guard