Smelly std::pair and std::tuple--Arne Mertz
Do you use them badly?
Smelly std::pair and std::tuple
by Arne Mertz
From the article:
Depending on their use,
std::pairandstd::tuplecan be code smells. That’s why we should be careful around these two.Having a code smell is not a no-go, it’s more like a red flag. It’s one of those things that are not a problem themselves but rather a hint that there might be a less obvious problem hidden in the code.


A trip report from the just-concluded ISO C++ meeting: