This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/86728] [8/9 Regression] unexpected error: conversion from '<lambda(<type error>, ...)>' to non-scalar type 'std::function<void(int)>' requested


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]