
Hi Alexey, "Alexey Bakhvalov" <bakhvalov@gmail.com> wrote in message news:d8kjpe$amo$1@sea.gmane.org... |I get compiler error if I try to compare ptr_vector::iterator with | ptr_vector::const_iterator. (I use the latest library downloaded from Boost | CVS repository) | For example, the following code doesn't compile under VC 7.1: | | typedef boost::ptr_vector<char> TContainer; | TContainer some_vector; | for (TContainer::const_iterator it = some_vector.begin(); it != | some_vector.end(); ++it) ; | | But it definitely should... yes, it should. (note, however, you can hoist the end() computation out of the loop) I'm a bit reluctant to commit anything at this point unless the release manager accepts it. Doug, is it ok to commit the patch + opdated test? (All test runs (and works) with vc7.1, gcc3.3.3, como4.3.3) -Thorsten