This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Ooops...
- From: Stefan Olsson <stefan at xapa dot se>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 13 Jan 2004 16:42:48 +0100
- Subject: 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