X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Ftypeof%2Fvector.hpp;h=e75b57ee5a0f125f74e9642ef5d87b9f3caeb44a;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=7dc8d50f8127208ea173885478a6d9060a224f94;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/boost/typeof/vector.hpp b/ceph/src/boost/boost/typeof/vector.hpp index 7dc8d50f8..e75b57ee5 100644 --- a/ceph/src/boost/boost/typeof/vector.hpp +++ b/ceph/src/boost/boost/typeof/vector.hpp @@ -8,7 +8,7 @@ #ifndef BOOST_TYPEOF_VECTOR_HPP_INCLUDED -#include +#include #include #ifndef BOOST_TYPEOF_LIMIT_SIZE @@ -76,10 +76,10 @@ # define BOOST_TYPEOF_spec_iter(n)\ template\ - struct v_iter >\ + struct v_iter >\ {\ typedef typename V::item ## n type;\ - typedef v_iter > next;\ + typedef v_iter > next;\ }; namespace boost { namespace type_of { @@ -101,13 +101,13 @@ namespace boost { namespace type_of { typedef P ## n item ## n; # define BOOST_TYPEOF_typedef_fake_item(z, n, _)\ - typedef mpl::int_<1> item ## n; + typedef constant item ## n; # define BOOST_TYPEOF_define_vector(n)\ template\ struct vector ## n\ {\ - typedef v_iter, boost::mpl::int_<0> > begin;\ + typedef v_iter, boost::type_of::constant > begin;\ BOOST_PP_REPEAT(n, BOOST_TYPEOF_typedef_item, ~)\ BOOST_PP_REPEAT_FROM_TO(n, BOOST_TYPEOF_PP_NEXT_SIZE, BOOST_TYPEOF_typedef_fake_item, ~)\ };