My feeling is that with optional auto-resize feature circular_buffer<> may
hit the sweet spot of being good enough for 80% apps. The auto-resize would
kick in only when user explicitly asked for it.

I suppose my resistance to that is partly aestetic. Having a container that is array-like with circularity is a tidier concept. Since the uses that I have for it do not requiring resizing, it seems extraneous in that context.

        Having said all that, it's Jan that remains to be
        convinced.. :-)

In relation to the previous discussion I thought an
alternative container may be a circular_deque that could
have the kind of flexibility with resizing that
also sounds desirable.

Does a circular_deque sound like the right solution to your particular application, rather than a vector-like resizing contiguous circular buffer?

Cheers,

Nigel


_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to