Skip to content

Capture lambda are missing the deleted copy assignment #413

@Ignition

Description

@Ignition

I have no idea why the standard is this way....but it is.
Hence in cppinsights I would expect to see something like __lambda_xyz& operator=(__lambda_xyz const &) = delete; for lambdas that capture.

http://eel.is/c++draft/expr.prim.lambda#closure-13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions