auto eve::algo::expensive_callable = ::rbr::flag( expensive_callable_tag{} )
inlineconstexpr
#include <eve/module/algo/algo/traits.hpp>
However, if your callback and/or iterators are very heavy, those transformations will not help you. In that case passing expensive_callable trait will help.