This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: default allocator templ arg for map and multimap
- To: lfarkas at mindmaker dot hu
- Subject: Re: default allocator templ arg for map and multimap
- From: scott snyder <snyder at d0sgibnl1 dot fnal dot gov>
- Date: Tue, 11 Apr 2000 12:35:06 CDT
- cc: STDC++ <libstdc++ at sourceware dot cygnus dot com>
>could you tell me the reason for the two const in the map and multimap :
>_Alloc = allocator<pair<const _Key, const _Tp> > >
>isntead of
>_Alloc = allocator<pair<const _Key, _Tp> > >
Ugh -- you're right, i'm wrong --- it should have been
_Alloc = allocator<pair<const _Key, _Tp> > >
in both places.
I can't believe i did that, and i'm a bit surprised all the tests i had
worked with that...
I left the laptop i've been doing this stuff on at home today,
so i won't be able to make a revised patch until tomorrow. But it should
be easy enough to correct from the above description.
sorry for the confusion,
sss