Boost logo

Boost Users :

Subject: [Boost-users] Help in calculating the size of a boost::unordered_map
From: Ram (sourceopen_at_[hidden])
Date: 2016-11-07 00:30:11


I would like to calculate the size of my filled up boost::unordered_map
including the house keeping. I was thinking of sizeof(boost:unordered_map
mymap). I asked this question on stackoverflow but they say that wont help.
Can somebody tell me an easy way to find the size including the
housekeeping that it takes?

The boost::unordered_map stores a std::string as the key and a pointer to
my class object as the value.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at