Skip to content

constructor argument evaluation IMHO not necessarily left to right #1

Open
@PeterSommerlad

Description

@PeterSommerlad

The following code might read errno before calling open... I am happy to be convinced otherwise.

return ReturnCode{open(fileName), errno};

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