Boost logo

Boost Users :

Subject: [Boost-users] memory used by vector<int> vs vector<char>
From: Lloyd (lloydkl.tech_at_[hidden])
Date: 2013-08-21 07:33:35


Hi,

If I create a vector<int> of 100 elements and a vector<char> of 100
elements, will there be any difference in the total memory used by them? or
which is more efficient?

Thanks,
  Lloyd



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net