[Insight-developers] Two implementations of STL hash_map?

Joshua Cates cates@sci.utah.edu
Fri, 9 May 2003 08:40:00 -0600 (MDT)


Hi,

You should use itk_hash_map.  It was created because hash_map is not
standard on all platforms.  I forget now why we are also distributing the
SGI stdlib with ITK.

Josh.
______________________________
 Josh Cates			
 School of Computer Science	
 University of Utah
 Email: cates@sci.utah.edu
 Phone: (801) 587-7697
 URL:   http://www.sci.utah.edu/~cates


On Fri, 9 May 2003, Mark Foskey wrote:

> It seems that we have two versions of hash_map (and hash_set):
> 
>    Insight/Code/Common/itk_hash_map.h
>    Insight/Utilities/stdlib/stl_hash_map.h
> 
> They are both descendents of the SGI STL hash_map.
> 
> Is this a good thing?  If I want to use one of them, which one should I 
> use?
> 
> -- 
> Mark Foskey    (919) 843-5436  Computer-Aided Diagnosis and Display Lab
> mark_foskey@unc.edu            Department of Radiology, CB 7515, UNC
> http://www.cs.unc.edu/~foskey  Chapel Hill, NC  27599-7515
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>