[Development] New circular buffer container for Qt5
rohan.mcgovern at nokia.com
Mon Oct 31 01:54:26 CET 2011
Sean Harmer said:
> I would like to introduce a new generic container class to Qt,
> QCircularBuffer. This email is to see if there are any objections to doing so.
> This class is similar to QVector but it provides circular semantics. For
> example, appending to an already full circular buffer will overwrite the
> oldest item i.e. it forms a kind of LRU cache. The API is essentially a
> Qt'ified version of the boost::circular_buffer  API so hopefully people
> will find it simple to use.
Any comments on how QCircularBuffer compares to the existing
More information about the Development