Boost logo

Boost :

Subject: Re: [boost] [move][container] const-qualified value_type's
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-09-02 06:57:22


Jeffrey Hellrung escribió:
> 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.

I think you are right (at least other implementations don't
const-qualify value_type). I'll see if this error is also in other
containers.

Best,

Ion


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