monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] implement hash_map with std::tr1


From: Benoît Dejean
Subject: Re: [Monotone-devel] implement hash_map with std::tr1
Date: Sun, 16 Jul 2006 18:05:13 +0200

Le dimanche 30 avril 2006 à 19:13 +0200, Benoît Dejean a écrit :
> Le dimanche 30 avril 2006 à 05:55 -0700, Nathaniel Smith a écrit :
> > On Sun, Apr 30, 2006 at 10:54:32AM +0200, Benoît Dejean wrote:
> > > +#if defined(__GNUC__) && (__GNUC__ >= 4)
> > >  #define HASHMAP_PRESENT
> > 
> > This is the wrong way to do feature availability checks... can we use
> > autoconf here instead?  (Especially because many compilers besides
> > g++4 will have std::tr1 support, one hopes!)
> 
> that's what i was thinking, but i don't know how.

i've been successfully using that patch since april with g++-4;0 and g
++-4.1

-- 
GNOME http://www.gnomefr.org/
LibGTop http://directory.fsf.org/libgtop.html

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


reply via email to

[Prev in Thread] Current Thread [Next in Thread]