Skip to content

Insidious accidental lambda conversion #195

Description

@lefticus

Can you spot the bug?

From Ben Deane

constbool proceed = [&](){ return complexcheck; };
if (proceed) {
// do things
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions