We've determined that the gcc perf drop is due to use of decltype(auto) as the return type for template functions. Replacing with a known type or func(...) -> decltype(...) trailing type syntax seems to avoid the performance issue.
We've determined that the gcc perf drop is due to use of decltype(auto) as the return type for template functions. Replacing with a known type or func(...) -> decltype(...) trailing type syntax seems to avoid the performance issue.