In the code below, why it is that when I take the address of a map index (which contains a list) and I take the address of the list itself, they both have different values.
See the code below for clarification.
#include <iostream>
#include <list>
#include <map>
using namespace std;
int main()
{
list<char> listA; //list of chars
map<int,list<char> > mapper; //int to char map
mapper[1] = listA;
cout << &(mapper[1]) << endl;
cout << &listA << endl;
}