Index: boost/multi_index/sequenced_index.hpp =================================================================== --- boost/multi_index/sequenced_index.hpp (revision 60623) +++ boost/multi_index/sequenced_index.hpp (working copy) @@ -346,7 +346,7 @@ } template - bool modify(iterator position,Modifier mod,Rollback back) + bool modify(iterator position,Modifier mod,Rollback p_back) { BOOST_MULTI_INDEX_CHECK_VALID_ITERATOR(position); BOOST_MULTI_INDEX_CHECK_DEREFERENCEABLE_ITERATOR(position); @@ -363,7 +363,7 @@ #endif return this->final_modify_( - mod,back,static_cast(position.get_node())); + mod,p_back,static_cast(position.get_node())); } void swap(sequenced_index& x) Index: boost/multi_index/ordered_index.hpp =================================================================== --- boost/multi_index/ordered_index.hpp (revision 60623) +++ boost/multi_index/ordered_index.hpp (working copy) @@ -436,9 +436,9 @@ template iterator find( - const CompatibleKey& x,const CompatibleCompare& comp)const + const CompatibleKey& x,const CompatibleCompare& p_comp)const { - return make_iterator(ordered_index_find(root(),header(),key,x,comp)); + return make_iterator(ordered_index_find(root(),header(),key,x,p_comp)); } template @@ -448,9 +448,9 @@ } template - size_type count(const CompatibleKey& x,const CompatibleCompare& comp)const + size_type count(const CompatibleKey& x,const CompatibleCompare& p_comp)const { - std::pair p=equal_range(x,comp); + std::pair p=equal_range(x,p_comp); size_type n=std::distance(p.first,p.second); return n; } @@ -464,10 +464,10 @@ template iterator lower_bound( - const CompatibleKey& x,const CompatibleCompare& comp)const + const CompatibleKey& x,const CompatibleCompare& p_comp)const { return make_iterator( - ordered_index_lower_bound(root(),header(),key,x,comp)); + ordered_index_lower_bound(root(),header(),key,x,p_comp)); } template @@ -479,10 +479,10 @@ template iterator upper_bound( - const CompatibleKey& x,const CompatibleCompare& comp)const + const CompatibleKey& x,const CompatibleCompare& p_comp)const { return make_iterator( - ordered_index_upper_bound(root(),header(),key,x,comp)); + ordered_index_upper_bound(root(),header(),key,x,p_comp)); } template @@ -497,10 +497,10 @@ template std::pair equal_range( - const CompatibleKey& x,const CompatibleCompare& comp)const + const CompatibleKey& x,const CompatibleCompare& p_comp)const { std::pair p= - ordered_index_equal_range(root(),header(),key,x,comp); + ordered_index_equal_range(root(),header(),key,x,p_comp); return std::pair( make_iterator(p.first),make_iterator(p.second)); } Index: boost/multi_index/detail/index_matcher.hpp =================================================================== --- boost/multi_index/detail/index_matcher.hpp (revision 60623) +++ boost/multi_index/detail/index_matcher.hpp (working copy) @@ -132,17 +132,17 @@ entries(),entries()+size_, entry(node),entry::less_by_node()); /* localize entry */ ent->ordered=false; - std::size_t n=ent->pos; /* get its position */ + std::size_t epn=ent->pos; /* get its position */ entry dummy(0); - dummy.pile_top=n; + dummy.pile_top=epn; entry* pile_ent= /* find the first available pile */ std::lower_bound( /* to stack the entry */ entries(),entries()+num_piles, dummy,entry::less_by_pile_top()); - pile_ent->pile_top=n; /* stack the entry */ + pile_ent->pile_top=epn; /* stack the entry */ pile_ent->pile_top_entry=ent; /* if not the first pile, link entry to top of the preceding pile */ @@ -164,7 +164,7 @@ */ entry* ent=entries()[num_piles-1].pile_top_entry; - for(std::size_t n=num_piles;n--;){ + for(std::size_t nn=num_piles;nn--;){ ent->ordered=true; ent=ent->previous; }