I'm implementing the Dynamic Scrolling Backpack Problem in C++
and chose the deck to build my list. Studying on it, I realized these two different ways of accessing a specific position in the list:
//Retorna o item i da lista mydeque
mydeque[i]
mydeque.at(i)
What is the real difference between the two, since at first sight both are identical?