Re: [Development] New circular buffer container for Qt5

2011-10-30 Thread Rohan McGovern
Sean Harmer said: > Hi, > > 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 circul

Re: [Development] New circular buffer container for Qt5

2011-10-28 Thread Sean Harmer
Hi, On Friday 28 October 2011 15:30:45 Thiago Macieira wrote: > On Friday, 28 de October de 2011 14:11:08 Sean Harmer wrote: > > 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

Re: [Development] New circular buffer container for Qt5

2011-10-28 Thread Thiago Macieira
On Friday, 28 de October de 2011 14:11:08 Sean Harmer wrote: > 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

[Development] New circular buffer container for Qt5

2011-10-28 Thread Sean Harmer
Hi, 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 ol