struct { ... } eve::algo::for_each_iteration_with_expensive_optional_part |
#include <eve/module/algo/algo/for_each_iteration_with_expensive_optional_part.hpp>
Defined in Header
for_each_iteration
, even if not unrolled, generates a few copies of the callback code. For some algorithms we want to move out a piece of callback code but we still don't want a function call. Think search: we want to move the more expensive part of validating match outside.
You can find example usage in the search implementation.