Making sense of terrible template errors with 'camomilla'
summary
Command line tool camomilla is a small Python script that rewrites fat C++ template errors by collapsing template arguments to configurable levels so deeply nested types become readable. It supports depth-based collapsing with incremental expansion, caches previous expansions so reprocessing different depths does not require recompilation, and simple alias/reject rules to hide common wrappers. Works on real Boost-heavy code (transcript mentions boost Hana and Busan PL) and reduces compiler output size enough to make debugging practical.
AI-written summary · about
related talks
53mPruning Error Messages From Your C++ Template Code
01h 30mRethinking the Way We Do Templates in C++
50mExpression Templates: Past, Present, Future
51mC++: How I learned to stop worrying and love metaprogramming
51mCompile-time tools supporting generic programming in C++
01h 03m“Boostache Exposed : the internals of Boost's template engine"
01h 00mModern Template Metaprogramming: A Compendium, Part I
01h 06m“C++ Metaprogramming: Journey from simple to insanity and back"
