std::index_sequence and its Improvement in C++20--Jonathan Boccara

The power of lambdas.

std::index_sequence and its Improvement in C++20

by Jonathan Boccara

From the article:

It would be great if we could iterate on the values of a std::tuple like we do for a std::vector or for other STL containers.

But we can’t. To iterate on the values inside of a tuple, we need to proceed in two steps...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.