ベクトルのサイズを予測するにはどうすればよいですか?
#include <vector>
#include <iostream>
using namespace std;
int main() {
cout << sizeof(vector<char[8]>) << endl;
cout << sizeof(vector<char[16]>) << endl;
return 0;
}
[starlon@localhost LCDControl]$ ./test
12
12