What I'm trying to know is can I declare a map having a non-primitive key like this?
map <Aluno, int> grades;
Where Aluno is an object. My teacher didn't know the answer so I ask you guys. Is it possible or will I have to use integers, string, etc.?