9#ifndef STLAB_CONCURRENCY_DETAIL_LIBDISPATCH_EXECUTOR_GROUP_HPP
10#define STLAB_CONCURRENCY_DETAIL_LIBDISPATCH_EXECUTOR_GROUP_HPP
12#include <stlab/config.hpp>
14#include <dispatch/dispatch.h>
19STLAB_VERSION_NAMESPACE_BEGIN()
24 dispatch_group_t _group = dispatch_group_create();
30 group_t(
const group_t&) =
delete;
33 group_t(group_t&& a) noexcept : _group(std::exchange(a._group,
nullptr)) {}
36 auto operator=(
const group_t&) -> group_t& =
delete;
39 auto operator=(group_t&& a)
noexcept -> group_t& {
40 _group = std::exchange(a._group,
nullptr);
49auto group() ->
const group_t&;
52STLAB_VERSION_NAMESPACE_END()
Definition reverse.hpp:28