From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-06-13 16:45:50
"Alexey Bakhvalov" <bakhvalov_at_[hidden]> wrote in message
|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
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)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk