[Top][All Lists]
[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, 30 Apr 2006 19:13:33 +0200 |
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.
--
GNOME http://www.gnomefr.org/
LibGTop http://directory.fsf.org/libgtop.html
signature.asc
Description: Ceci est une partie de message numériquement signée