Skip to content

Short circuit Hybrid::forEach for integer_sequence

Carsten Gräser requested to merge feature/simplify-foreach into master

This reduced the template instanciation depth drastically. E.g., for range=integer_sequence<21> is changed from 319 to 84.

This is especially important for clang, because this has a default max-depth of 256 in contrast to gcc (900).

Merge request reports