#include #include #include #include #include #include #include const int N = 10000000; struct Leaf { bool b; int i; double d1; }; struct Internal { bool b; int i; double d1, d2, d3, d4,d5; }; template void bench_container() { std::cout << typeid(Container).name() << std::endl; CGAL::Memory_sizer ms; CGAL::Timer t; t.start(); T element; Container c; for(int i=0; i void bench() { std::cout << "sizeof(" << typeid(T).name() << ") = " << sizeof(T) <,T>(); bench_container,T>(); bench_container,T>(); //bench_container,T>(); } int main() { bench(); bench(); bench(); return 0; }