Folding expressions in C++
Posted in

Folding expressions in C++

Welcome to the next pikoTutorial ! What is a folding expression? Imagine that you have a vector of integers and you need to add some predefined values to it. The obvious choice seems to be just using push_back() function applied a couple of times: This works, but look how much…

Folding expressions in C++ Read More