From 09a01370168566f5ec477ae24e1259a858fd1ef3 Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Thu, 9 Jul 2009 08:06:19 +0000 Subject: [PATCH] Reverted value_init revision [54502], intel_9_value_init_conversion-operator.patch from ticket #2548, as it only increased the number of compile errors at the regression page, and Fernando Cacciola also suggested me to leave it broken (without the patch), for this specific (old) compiler version. [SVN r54832] --- include/boost/utility/value_init.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/boost/utility/value_init.hpp b/include/boost/utility/value_init.hpp index 85670fd..5aefac9 100644 --- a/include/boost/utility/value_init.hpp +++ b/include/boost/utility/value_init.hpp @@ -106,10 +106,8 @@ class value_initialized ::boost::swap( this->data(), arg.data() ); } -#if !BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 900) operator T const &() const { return this->data(); } -#endif - + operator T&() { return this->data(); } } ;