E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ [struct]

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

#include <eve/module/algo.hpp>

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.