Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74893 - trunk/boost/signals2/detail
From: hartmut.kaiser_at_[hidden]
Date: 2011-10-10 08:34:21


Author: hkaiser
Date: 2011-10-10 08:34:20 EDT (Mon, 10 Oct 2011)
New Revision: 74893
URL: http://svn.boost.org/trac/boost/changeset/74893

Log:
Signals2: Allow signals to be used with newer Intel compilers
Text files modified:
   trunk/boost/signals2/detail/foreign_ptr.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/signals2/detail/foreign_ptr.hpp
==============================================================================
--- trunk/boost/signals2/detail/foreign_ptr.hpp (original)
+++ trunk/boost/signals2/detail/foreign_ptr.hpp 2011-10-10 08:34:20 EDT (Mon, 10 Oct 2011)
@@ -12,16 +12,19 @@
 #define BOOST_SIGNALS2_FOREIGN_PTR_HPP
 
 #include <algorithm>
+#include <boost/config.hpp>
 #include <boost/assert.hpp>
 #include <boost/scoped_ptr.hpp>
 #include <boost/smart_ptr/bad_weak_ptr.hpp>
 #include <boost/utility/swap.hpp>
 
+#if !defined(BOOST_INTEL_STDCXX0X)
 namespace std
 {
   template<typename T> class shared_ptr;
   template<typename T> class weak_ptr;
 }
+#endif
 
 namespace boost
 {


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