executor |
Defined in
<concurrency/serial_queue.hpp> |
Constructs an executor from the serial queue
Like other executors, this routine returns an executor whose operator()
returns void
. As such, the tasks enqueued to the serial queue this way are not cancelable, nor is there a future through which their results are returned.
This is a good means of passing “fire and forget” tasks into the serial queue.