June 16, 2020
Non-terminal variadic template parameters
A few months ago I presented a few features that I hope will be considered for C++23. I have since then submitted papers for multi-dimensional subscript expressions and ’_` as a variable placeholder.
In this article I want to talk about another improvement I would like to see in the next C++ version: Non-trailing variadic template parameters.
Indeed, while parameter packs can appear before the last function parameter, they do not get properly deduced when they do.
Read more