Dispatch tables are a common way to map names to functions, but traditional C++ implementations inevitably involve either repetitive boilerplate or runtime initialization. C++26’s static reflection opens the door to a fundamentally different approach, allowing the compiler to discover functions, build the dispatch table, and optimize its representation entirely at compile time. Dispatch Table with C++26 Reflection - Zero Boilerplate & Zero Runtime Overhead by NoqtaBeda From the article: As compile-time reflection is finally adopted to C++26 standard, developers are enabled to fetch and operate