Skip to content

Allow expr ?: expr #48

@jendrikw

Description

@jendrikw

Both GCC and clang allow omitting the middle part.

https://godbolt.org/z/7Erv8rWMd

The semantics are described in the GCC manual: https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html

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