Memory use estimate

Krzysztof.Wisniowski@siemens.com Krzysztof.Wisniowski@siemens.com
Tue Nov 25 11:20:00 GMT 2003


Hello everyone,

	I need a memory usage estimate for std::vector class. Supposing it
would store 32 char values, what size of memory would be allocated for the
whole container? I am running gcc 3.2 on Linux 2.4.18.

Thanks,
-- 
Krzysztof Wisniowski   | Siemens Sp. z o.o.
ICM SDC NMR 3          | Software Design Center
Phone: +48 71 799 2403 | 54A Strzegomska Str.
Fax: +48 71 799 2320   | 53-611 Wroclaw POLAND



More information about the Gcc-help mailing list