|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54502 - trunk/boost/utility
From: nielsdekker_at_[hidden]
Date: 2009-06-29 13:53:35
Author: niels_dekker
Date: 2009-06-29 13:53:33 EDT (Mon, 29 Jun 2009)
New Revision: 54502
URL: http://svn.boost.org/trac/boost/changeset/54502
Log:
Worked around Intel 9 specific ambiguity w.r.t. value_initialized conversion operators, by applying intel_9_value_init_conversion-operator.patch, as discussed w/ Daniel James at ticket #2548
Text files modified:
trunk/boost/utility/value_init.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/utility/value_init.hpp
==============================================================================
--- trunk/boost/utility/value_init.hpp (original)
+++ trunk/boost/utility/value_init.hpp 2009-06-29 13:53:33 EDT (Mon, 29 Jun 2009)
@@ -106,8 +106,10 @@
::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(); }
} ;
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