This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ooops...


Hi Benjamin,

I just started implement stuff and found out that the current version of mt_allocator.h in CVS is not working. I have located the problem (it has to do with the fact that the allocator now gets number of _Tp to allocate instead of number of bytes). My question is this - is sizeof(_Tp) evaluated at runtime or compile time? I figure that it's done at compile time but since it will have to be done in several more places I thought I might as well make sure...

I will send a patch that makes the allocator work again during tomorrow (based on the 2004-01-07 snapshot code) and then continue to work according to the rfc.

Brgds

/Stefan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]