[Bug c++/96316] New: [coroutines] Promise parameter preview - looking for promise constructor with implicit lambda argument

skdkksfadkadkk at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Jul 25 06:21:45 GMT 2020


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.


More information about the Gcc-bugs mailing list