42 m_queue.enqueue(std::forward<F>(func));
46 using task = smallfun::function<
48#if defined(_MSC_VER) && !defined(NDEBUG)
53 std::max((
int)8, (
int)std::max(
alignof(std::function<
void()>),
alignof(
double))),
54 smallfun::Methods::Move>;
55 moodycamel::BlockingConcurrentQueue<task> m_queue;
56 std::array<std::thread, 1> m_threads;
57 std::atomic_bool m_running{};