moonshadow565
Joined 4 years ago
Karma
11
Submissions
14
Member since
Jan 1
Joined 4 years ago
Main things you would need to understand is specialization (think like pattern matching but compile time) and pack expansion (three dots).
Developed by Sergey Titov (same engine that powers Big Rigs).
const auto [...I] = std::make_index_sequence<INPUT_COUNT>{};
((SetupInput<I>(options, transport_manager, subscriber_queues[I], thread_pool, templated_topic_to_runtime_topic)),...);
yay!