C++26: what is “template for”?

The author explores the new "template for" feature in C++26 while attempting to reduce redundancy in calling a function template. They illustrate the concept with examples, highlighting how "template for" allows iterating over arrays as non-type template arguments. The discussion includes compiling the code and best practices for defining arrays.

Compile Your First C++26 Program with GCC 16.1

The author successfully installed the GCC 16.1 compiler on an Ubuntu machine, outlining the installation steps and necessary dependencies. Following installation, a sample C++26 program utilizing reflection was compiled and executed without issues, demonstrating the new features of the compiler. The process and the author's excitement for the new capabilities are detailed.