[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: hash map?
From: André_Wöbbeking <Woebbeking () onlinehome ! de>
Date: 2006-07-03 20:31:59
Message-ID: 200607032231.59645.Woebbeking () onlinehome ! de
[Download RAW message or body]
On Monday 03 July 2006 21:07, Christoph Bartoschek wrote:
> Am Montag, 3. Juli 2006 15:03 schrieb Michael Thaler:
> > Hello,
> >
> > I am working on porting the SIOX tool from gimp to Krita. The SIOX
> > tool uses a hash_map to do some caching. For example it uses the
> > two functions
>
> ...
>
> > Since Krita is part of KOffice, I am not sure if it is o.k. to use
> > SGI's hash_map for Krita because it is not part of the STL. If not,
> > is there any other hash map that I could use for Krita?
>
> The next standard will contain std::unsorted_map, that is implemented
> by a hash. It is already part of Technical Report 1
> http://en.wikipedia.org/wiki/Technical_Report_1. The libstdc++
> already implements it (at least since GCC 4.0). You can find it when
> you search for the header unsorted_map.
lol, many KDE developers still avoid STL which is from 1998.
std::unsorted_map won't be part of a released before 2008. So you
shouldn't use it inside KDE. Keep in mind that GCC is not the only
compiler and that there are other platforms than linux (with old/broken
compilers).
Cheers,
André
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic