https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96316
Bug ID: 96316 Summary: [coroutines] Promise parameter preview - looking for promise constructor with implicit lambda argument Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: skdkksfadkadkk at gmail dot com Target Milestone: --- Created attachment 48926 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48926&action=edit Code example The feature "promise parameter preview" works wrong with lambda function, because lambda also has an implicit argument, so compiler tries to find promise type constructor, that has this implicit argument with other explicit lambda arguments.