Accessing vector of tupels element by position

Couldn't not find anything about it on the net, so I would like to ask how to access a specific element by its position in a vector of tuples. Let's say the Vector has a size of 5 (5 times pushed_back). I know how to do it by iterator position whithin a for loop. For example if I want to access and manipulate the second item (bool) in the third row, how could that be done:

1
2
3
4
5
6
7
8
9
10
11
std::vector<std::tuple<sf::Sprite,bool,.......>> Vector;

Vector.push_back(std::make_tuple(sprite,false,......));

for (auto& it=Vector.begin(); it!=Vector.end(); ++it)

std::get<1>(*it)==true);       

 --> Something like this:
     std::get<1>(2)==true); (does not work)
std::get<1>(Vector[2])
Topic archived. No new replies allowed.