With this code:
#include <iostream>
#include <list>
int main() {
std::cout << sizeof(std::list<void*>) << std::endl;
};
I managed to notice that on GCC 4.7 the size of std::list<void*>
on C++98 is 16 bytes, and its size on C++11 is 24 bytes.
I was wondering what changed on std::list that made it bigger.