Re:I disagree with Linus Torvalds about C++ (2009)
by stochastic_monk on Monday December 31, 2018 @03:32PM
(#18796796)
The used size is end - begin; the capacity is stored in addition. That’s why sizeof(std::vector<T>) is 24 on x86-64.
[ Parent
| on HN ]
There are no comments on this comment yet.