bloomen / transwarp

A header-only C++ library for task concurrency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Define listeners as array

bloomen opened this issue · comments

Currently, the listeners_ member of task_impl_base is a vector of vectors. However, the outer vector is always fixed in size, namely fixed to the number of events. Hence, we should use a std::array instead.