The Glory of Six Dots
summary
Proposal treats the old variadic C-style syntax as a usable parameter-pack syntax and defines a class-template partial specialization for std::function that captures one fixed parameter followed by a variadic pack. The specialization exposes operator() and implements forwarding by assign from vprintf, so a printf clone only needs that declaration and assignment. Proof-of-concept compiles under clang with warnings but is valid C++ and demonstrates practical interop between printf-style APIs and type-safe callables.
AI-written summary · about
chapters (6)
related talks
04mGeneralized fold expressions
53mC++ Variadic Templates and Parameter Packs
01h 01m“Template Normal Programming (part 2 of 2)"
57mIntroduction to C++ Template Metaprogramming
01h 05mHello Operator: Making The Call for C
01h 01m“A modern formatting library for C++”
05mBeautiful Folds
54mGeneric Programming Without (Writing Your Own) Templates
