circular_buffer iterator problem
Hi, I have a boost svn trunk checkout (latest one). It seems boost circular_buffer has a iterator problem for converting from non const to const iterator, on visual studio 7.1 (2003) release build only. Can someone check for it ? (It used to work on boost 1.34) for eg, using namespace boost::assign; typedef boost::circular_buffer<int> CB; std::vector<int> v; v+=1,2,3,4,5,6,7,8,9,10,11,12; CB buf(10,v.begin(),v.end()); CB::iterator it = buf.begin(); CB::const_iterator it1 = buf.begin();/// This line doesn't compile on release build only. a second (and little different) question, why boost::assign doesn't work with circular_buffer directly which has 2 iterator construct like most other STL containers ? thanks abir -- Abir Basak, Member IEEE Software Engineer, Read Ink Technologies B. Tech, IIT Kharagpur email: abir@abirbasak.com homepage: www.abirbasak.com
participants (1)
-
abir basak