Skip to content

Merge branch 'feature/simplify-foreach' into 'master'

Christoph Grüninger requested to merge cherry-pick-6951f8a7-2 into releases/2.5

Short circuit Hybrid::forEach for integer_sequence

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).

See merge request !162 (merged)

Merge request reports

Loading