Check the documentation:
std::tuple - cppreference.com[
^]
If i understand you well...
All you need to do is to loop through the elements on the
list[
^], then to use
std::get()
function.
Think of it!
Tip:
d(0)
- returns the first element on the list
std::get<1>(d(0))
- returns second element of tuple of first element on the list