// 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 BOOST_PARAMETER_SET_060912_HPP #define BOOST_PARAMETER_SET_060912_HPP #include #if defined(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 BOOST_WORKAROUND(__BORLANDC__, 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 // !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 // BOOST_PARAMETER_CAN_USE_MP11 || Borland workarounds needed #endif // include guard