The method wait_until_empty
was removed from class task_arena
in recent updates. Unfortunately, the documentation at software.intel.com which you refer to is not updated yet. I recommend to use the documentation at threadingbuildingblocks.org which is more up to date.
The example in that documentation page demonstrates how you can combine task_arena
and task_group
to achieve functionality similar to wait_until_empty
.