A deep dive into compiler divergence when handling unevaluated lambdas with capture-lists that call invalid-to-instantiate function templates. Clang and GCC disagree on when to instantiate function bodies: Clang rejects lambda-expressions but accepts equivalent struct types, while GCC does the opposite. EDG and MSVC accept
Sort: