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]

Re: Customized Allocator (on disk)


Phil Edwards wrote:
> Early implementations of the STL would make the allocators depend on
> knowledge of the specific pointers types.  The version in libstdc++-v3
> does not.

Great! This should make things simpler if indeed I want to use the
Allocator parameter to do the job.  Benjamin Kosnik seems like he might
have other suggestions though.

> The hashtable extension in libstdc++-v3 does not depend on an integer being
> any particular size.  As far as I can tell, it doesn't depend on integers
> behaving in a particular fashion at all.
> 
> Maybe this is specific to Dinkumware?

Maybe so, but the issue is that as far as I know you cannot just _pass_
the integer type you wish as a parameter to "Hash."

In any case, let me first try to find some time for studying the GNU
code and then get back to you guys.  If anything else happens on this
subject, try cc'ing me directly.

Thanks.

-- 
Reza Roboubi
Software Development Consultant
www.linisoft.com


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