Mistake in Destructor example
Opened this issue · 2 comments
timmyjose commented
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").
rougier commented
Thanks. Can you make a PR?