C++ Overload Inspector - A Tool for Analyzing and Profiling Overloaded Function Calls
summary
A clang-based fork that lists overload candidates and gives a step‑by‑step account of why each candidate is viable or eliminated, shows which overload wins (including template specialization and C++23 deducing this cases), and measures overload resolution time per call and per file to help spot costly overloads. Output can be filtered or emitted as YAML for tooling, it reproduces clang’s choices (not GCC/MSVC), already surfaces real clang bugs, and is open source for testing.
AI-written summary · about
chapters (12)
- 0:00C++ overloading basics
- 2:58Overloading rules
- 3:47Complex examples
- 6:54Order of declarations
- 9:49Meta-programming challenges
- 11:16Overload inspector tool
- 13:04Tool features and output
- 17:04Tool examples
- 21:30C++23 and overloading
- 24:45Tool settings and profiling
- 26:58Performance analysis
- 29:11Q&A and future plans
related talks
01h 05mDon’t Get Overloaded by C++ Overload Sets
01h 00mDebug C++ Without Running
55mCustom Overload Sets and Inline SFINAE for Truly Generic Interfaces
27muser-defined statically-checked call graph constraints in C++
22mOverloading: The Bane of All Higher-Order Functions
51mCode Analysis ++
57mC++ MythBusters Strike 2
10mFunction Pointer Eliminator for C Programs
