I like the idea of using a circular_buffer, but still not sure how to time
the data on this buffer. I'd like for objects on this buffer to be removed
after n seconds, and not based on fixed capacity where they get
over-written. Or did I misunderstand? I think somehow attaching a timer to
each and every object on this buffer is the part I'm having trouble with
efficiently.
On Tue, Apr 21, 2015 at 10:51 PM, Robert Ramey
Look into boost/circular buffer
-- View this message in context: http://boost.2283326.n4.nabble.com/sliding-window-containing-n-seconds-of-da... Sent from the Boost - Users mailing list archive at Nabble.com. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users