
13 Jun
2005
13 Jun
'05
6:41 p.m.
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...