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: Nathaniel Smith
Subject: Re: [Monotone-devel] implement hash_map with std::tr1
Date: Sun, 30 Apr 2006 05:55:21 -0700
User-agent: Mutt/1.5.11

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!)

-- Nathaniel

-- 
"If you can explain how you do something, then you're very very bad at it."
  -- John Hopfield




reply via email to

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