CPP-Crash-Course icon indicating copy to clipboard operation
CPP-Crash-Course copied to clipboard

Mistake in Destructor example

Open timmyjose opened this issue 6 months ago • 2 comments

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").

timmyjose avatar Aug 05 '24 06:08 timmyjose