how to get the size of an STL container object?!!!
I just wanna ask about the size allocated for the objects instantiated from a class container in the STL, for example when I write :
I get the result 24, or when i write:
I get the result 20, whatever the type of the vector or the list (or any other containers) is set : int , char, double …. I will always get the same.. why!!!
So if I wanna actually know the size of my STL container object .. how would I get it?!!