Matt Aubury philosophizes about digging a grave for certain std::index_sequence idioms.
RIP index_sequence, 2014–2017
by Matt Aubury
From the article:
std::tuple was one of the great additions to C++11. Whilst sometimes abused by lazy programmers (who should really be using a struct or class), it’s true value is as a container of arbitrary values in variadic templates.
Sadly, static typing makes working with tuples much harder in C++ than in most languages [...]
Add a Comment
Comments are closed.