Boost logo

Boost Users :

Subject: [Boost-users] Boost sync_queue clear
From: kjw (kenneth69_at_[hidden])
Date: 2018-01-19 23:17:44

I am a user of the Boost Thread library experimental class, "sync_queue".

I would like to know if there is a way to remove all elements currently in the queue.

I don't see a "clear()" or "erase()" type method exposed and I don't see an easy way to access the internal container as a workaround.

Thanks to all Boost developers for creating such a great collection of libraries.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at