Summary
Jason argues that implicit conversions are a dangerous C++ feature that should be removed from the language. Through multiple code examples, he demonstrates how they can lead to serious bugs including memory leaks, accidental object copying, slicing, overhead, and dangling references. He showcases a custom clang-tidy checker he's developing to detect these problematic conversions, noting that many real-world bugs (like a PlayStation jailbreak exploit) could have been caught by proper implicit conversion analysis.
Related C++ Standard Sections
This episode covers topics found in these sections of the C++ standard:
-
[conv]67% match -
[class.conv]47% match -
[diff.cpp14]44% match -
[util.smartptr.shared]40% match