Feedback on __mt_alloc?

Stefan Olsson stefan@snon.net
Thu Apr 24 19:26:00 GMT 2003


Benjamin Kosnik wrote:

>>Looking at the current stl_alloc.h that would only be __malloc_alloc and 
>>__debug_alloc right?
>>    
>>
>
>I was thinking of moving them all over, so __pool_alloc would also be fair game.
>
>  
>
Hmmm...
...so stl_alloc.h would only contain __new_alloc as required by the 
standard? That would be really nice and clean!

Where would the pool_alloc.h file (along with the other SGI specific 
code such as __simple_alloc for _Alloc_traits etc) be included then for 
"compability"? In stl_alloc.h?

There are quite a few bits and pieces in the stl_alloc file that I'm 
uncertain about what they do - or if they are used at all :(

Brgds

/Stefan

-- 
Experience is what you get when you were expecting something else.




More information about the Libstdc++ mailing list