|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72416 - sandbox/conversion/boost/conversion
From: vicente.botet_at_[hidden]
Date: 2011-06-05 13:23:56
Author: viboes
Date: 2011-06-05 13:23:55 EDT (Sun, 05 Jun 2011)
New Revision: 72416
URL: http://svn.boost.org/trac/boost/changeset/72416
Log:
Conversion: avoid bugs with msvc as decltype doesn't works as expected
Text files modified:
sandbox/conversion/boost/conversion/convert_to.hpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: sandbox/conversion/boost/conversion/convert_to.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/convert_to.hpp (original)
+++ sandbox/conversion/boost/conversion/convert_to.hpp 2011-06-05 13:23:55 EDT (Sun, 05 Jun 2011)
@@ -34,9 +34,12 @@
#ifndef BOOST_CONVERSION_CONVERT_TO_HPP
#define BOOST_CONVERSION_CONVERT_TO_HPP
+#include <boost/config.hpp>
#if ! defined(BOOST_NO_DECLTYPE)
+#if ! defined _MSC_VER
#define BOOST_CONVERSION_ENABLE_CND
#endif
+#endif
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/integral_constant.hpp>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk