Boost logo

Boost :

Subject: Re: [boost] [uitility/result_of] CodeGear support of result_of
From: Daniel Walker (daniel.j.walker_at_[hidden])
Date: 2009-01-16 09:45:33


On Jan 16, 2009, at 4:29 AM, Mathias Gaunard wrote:

> joaquin_at_[hidden] wrote:
>
>> Seemingly, CodeGear does not support boost::result_of
>> http://tinyurl.com/8onbjj
>
> Isn't it, rather, that Boost.Config wrongly detects the compiler has
> decltype support?

I believe so. The change below will remove the decltype configuration
from codegear, but someone with more knowledge of this compiler's
feature set should probably audit the config file, just in case.

Daniel Walker

Index: boost/config/compiler/codegear.hpp
===================================================================
--- boost/config/compiler/codegear.hpp (revision 50629)
+++ boost/config/compiler/codegear.hpp (working copy)
@@ -65,7 +65,7 @@
  # define BOOST_HAS_LONG_LONG

  //# define BOOST_HAS_ALIGNOF
-# define BOOST_HAS_DECLTYPE
+//# define BOOST_HAS_DECLTYPE
  # define BOOST_HAS_EXPLICIT_CONVERSION_OPS
  //# define BOOST_HAS_RVALUE_REFS
  # define BOOST_HAS_SCOPED_ENUM


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk