Week 4: C++ Secrets
🔗 Pre-Class Learning Material
- CppCon 2019: Miro Knejp “Non-conforming C++: the Secrets the Committee Is Hiding From You”
- CppCon 2019: Timur Doumler “C++20: The small things” (watch first 8 minutes, although the rest is encouraged & we will likely return to this topic in future weeks)
🔗 Conversation Starters/Discussion Questions
- Would you use any of these non-conforming secrets in your own code? If so, which ones?
- What do you think of the committee’s choices in choosing simplicity over flexibility/C compatibility in standardizing designated initializers? How does the wide presence of non-standard extensions in compilers affect the rationale behind this decision?