Boost logo

Boost :

Subject: Re: [boost] [Container] const boost::container::vector is mutable??
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-03-30 16:49:03

El 30/03/2015 a las 19:05, Eric Niebler escribió:
> Why are the elements of a const boost::vector mutable through its
> const_iterator?

It's a bug. The following line in class vec_iterator (vector.hpp):

typedef typename

should be pointer_traits<pointer> ("pointer" in lowercase).



Boost list run by bdawes at, gregod at, cpdaniel at, john at