Hello all!
Summary of the recent San Diego C++ meetup session, took place Tue, July 16 2024 5PM Pacific Time.
Agenda in this meeting:
- New C++ Book – C++ Brain Teasers! – by Anders Schau Knatten – image above.
- Discussion on Throwing destructors
- Yet another hard to find(?) bug
Meetup event page here.
Recording can be found here:
Details:
- I introduce “C++ Brain Teasers” book by Anders Schau Knatten. The PragProg page has 3 items that can be accessed. Puzzles 2,3,14. We went over each and discussed it. Super fun book, very recommended! Amazon link if you’d like also the colored printed book.
- Throwing destructors Discussion – noexcept and C++11, is it a good idea to throw from destructors? what happens when you aggregate a type with “noexcept(false)” ? How to workaround such issue? What do Core Guidelines say? It triggered lots of good discussions.
- And finally, a very hard to find(?) bug related to temporaries and lifetime. I saw it in production code few times in the past few months and wanted to share it with the group. Lots of good discussions here as well!
That’s it for July 2024. Working on the agenda for the next meeting!
Thank you for reading!
Kobi