Boost logo

Boost :

Subject: Re: [boost] [move][container] const-qualified value_type's
From: Jeffrey Hellrung (jhellrung_at_[hidden])
Date: 2009-09-02 05:42:16

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 recently replaced some uses of std::vector with
boost::container::vector in my own code, and the difference in the
const-qualification of value_type triggers some MPL assertion failures...


- Jeff

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