Skip to content

User-defined literal created from alternative and #615

@chrchr-github

Description

@chrchr-github

From https://trac.cppcheck.net/ticket/14368:

struct S { int i; };
void f(double d, S s) {
    if (d != 0. and s.i) {}
}
if ( d != 0.and s . i ) { }

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