Hi, could anyone explain me why the two line are ok?
Qt Code:
  1. std::vector<Side>* _sides;
  2. std::vector<Side>::iterator its;
  3. int temp;
  4. for (its = _sides->begin(); its != _sides->end(); ++its)
  5. temp += (*its).getSide(); //1
  6. temp += its->getSide(); //2
To copy to clipboard, switch view to plain text mode 
Could explain me what scenario we have in term of pointers (refering to its. eg: in the loop its pointer to.........)

Thank you.