Boost logo

Boost :

Subject: Re: [boost] [move][container] const-qualified value_type's
From: David Abrahams (dave_at_[hidden])
Date: 2009-09-24 09:55:53


on Wed Sep 02 2009, Jeffrey Hellrung <jhellrung-AT-ucla.edu> wrote:

> Hi Ion,
>
> It appears that the value_type of a
> boost::container::vector<...>::const_iterator is const-qualified. Is
> this the correct semantics? I was under the impression that,
> generally speaking, value_type's are stripped of const qualification,
> but I could very well be wrong.

You are right.
     

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk