Skip to content

Mistake in Destructor example #4

@timmyjose

Description

@timmyjose

Location: https://github.com/rougier/CPP-Crash-Course?tab=readme-ov-file#32destructor

Issue: In main, that should be Foo foo; instead of Foo foo(); (which will give a "most vexing parse" error").

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