Paolo Carlini b929615a7c mt_allocator.h (struct __per_type_pool_policy<,, [...]): Scale _M_chunk_size too with sizeof(_Tp)...
2005-01-26  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/mt_allocator.h
	(struct __per_type_pool_policy<,, false>::_S_get_pool,
	struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
	_M_chunk_size too with sizeof(_Tp), otherwise the allocator
	breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
	reduce to 64 the multiplier for _M_max_bytes (safer wrt
	_Binmap_type being a short); trivial reformattings.
	* testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.

From-SVN: r94268
2005-01-26 16:34:58 +00:00
..
2004-11-29 13:29:54 +00:00
2004-11-27 09:34:06 +00:00
2004-11-24 06:24:10 +00:00
2005-01-23 23:35:20 +00:00
2005-01-23 23:35:20 +00:00
2004-05-22 17:08:02 +00:00
2005-01-20 20:28:41 +00:00
2005-01-20 20:28:41 +00:00
2004-12-19 21:57:28 +00:00