diff --git a/src/util/LoopUtil.h b/src/util/LoopUtil.h index c0542cc5..0c2502e4 100644 --- a/src/util/LoopUtil.h +++ b/src/util/LoopUtil.h @@ -13,6 +13,11 @@ #include +/** + * for_first_then_each + * loop over the container from begin to end but handles the first element + * differently. + */ template void for_first_then_each(Container container, Function_first function_first, Function_others function_others) {