Hello Jano, "Jan Gaspar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > 3. This fragment fails: > > struct Test {} > > circular_buffer<Test> a(2); > > a.push_back(Test()); > > a.push_back(a[0]); > > > I don't understand this. IMHO there will be 2 copies of Test(). Nothing should be > destroyed in the second push_back(). I think, everything is OK. > It works OK - I did mistake. The circular_buffer<> can safely pushXXX its own values. > > > > 3. cb_iterator: is the m_end value needed? > Should or shouldn't impact performance? What about setting m_it to 0 ? > Zero is even better. /Pavel _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost