zeromq / cppzmq

Header-only C++ binding for libzmq
http://www.zeromq.org
MIT License
1.9k stars 757 forks source link

allow generic sequence of poller events #622

Closed typon closed 8 months ago

typon commented 8 months ago

To avoid allocating (due to std::vector), I would like to use a static array for creating poller events. However, the wait_all method currently is hardcoded to accept only vectors. This PR addresses that by making wait_all a templated function.

coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 6660279595


Totals Coverage Status
Change from base Build 6182865435: 0.0%
Covered Lines: 854
Relevant Lines: 982

💛 - Coveralls
gummif commented 8 months ago

Nice, thanks.