Improving my C++ time queue -- Marius Elvert
Tick, tock...
Improving my C++ time queue
by Marius Elvert
From the article:
Another code snippet that can be found in a few of my projects is the “time queue”, which is a simple ‘priority queue’ style data structure that I use to defer actions to a later time. ...

New in this month's Overload magazine:
Worth waiting for:
Why do now what you can do later (or not at all)?
Have you used the patterns?
One if by latch, two if by barrier: