diff --git a/include/boost/mpl/vector/aux_/item.hpp b/include/boost/mpl/vector/aux_/item.hpp index 4f972f0..cf01a02 100644 --- a/include/boost/mpl/vector/aux_/item.hpp +++ b/include/boost/mpl/vector/aux_/item.hpp @@ -38,8 +38,10 @@ struct v_item typedef typename next::type size; typedef Base base; - using Base::item_; + // agurt 10/sep/04: MWCW <= 9.3 workaround here and below; the compiler + // breaks if using declaration comes _before_ the new overload static aux::type_wrapper item_(index_); + using Base::item_; }; template< @@ -54,8 +56,8 @@ struct v_item typedef typename next::type size; typedef Base base; - using Base::item_; static aux::type_wrapper item_(index_); + using Base::item_; }; // "erasure" item @@ -71,8 +73,8 @@ struct v_mask typedef typename prior::type size; typedef Base base; - using Base::item_; static aux::type_wrapper item_(index_); + using Base::item_; }; template< @@ -86,8 +88,8 @@ struct v_mask typedef typename prior::type size; typedef Base base; - using Base::item_; static aux::type_wrapper item_(index_); + using Base::item_; }; #endif // BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES