https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86728
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Priority|P3 |P2 Known to work| |7.3.0 Target Milestone|--- |8.3 Summary|[Regression] unexpected |[8/9 Regression] unexpected |error: conversion from |error: conversion from |'<lambda(<type error>, |'<lambda(<type error>, |...)>' to non-scalar type |...)>' to non-scalar type |'std::function<void(int)>' |'std::function<void(int)>' |requested |requested Known to fail| |8.1.0