Re: [Boost-bugs] [Boost C++ Libraries] #11139: boost::container::vector<std::shared_ptr<const T>, std::allocator<T>>::const_iterator allows changing its dereferenced elements

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11139: boost::container::vector<std::shared_ptr<const T>, std::allocator<T>>::const_iterator allows changing its dereferenced elements
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-30 22:46:14


#11139: boost::container::vector<std::shared_ptr<const T>,
std::allocator<T>>::const_iterator allows changing its dereferenced
elements
----------------------------------+------------------------
  Reporter: matteo.settenvini@… | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+------------------------

Comment (by eric_niebler):

 Says Ion Gaztañaga:

> It's a bug. The following line in class vec_iterator (vector.hpp):
>
> typedef typename
> boost::intrusive::pointer_traits<Pointer>
> ptr_traits;
>
> should be pointer_traits<pointer> ("pointer" in lowercase).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11139#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC