Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82582 - branches/release/boost/tr1
From: john_at_[hidden]
Date: 2013-01-21 07:02:54


Author: johnmaddock
Date: 2013-01-21 07:02:53 EST (Mon, 21 Jan 2013)
New Revision: 82582
URL: http://svn.boost.org/trac/boost/changeset/82582

Log:
Apply fix for #7907.
Fixes #7907.
Text files modified:
   branches/release/boost/tr1/memory.hpp | 14 +++++++-------
   1 files changed, 7 insertions(+), 7 deletions(-)

Modified: branches/release/boost/tr1/memory.hpp
==============================================================================
--- branches/release/boost/tr1/memory.hpp (original)
+++ branches/release/boost/tr1/memory.hpp 2013-01-21 07:02:53 EST (Mon, 21 Jan 2013)
@@ -13,7 +13,7 @@
 
 //
 // This header can get included by boost/shared_ptr.hpp which leads
-// to cyclic dependencies, the workaround is to forward declare all
+// to cyclic dependencies, the workaround is to forward declare all
 // the boost components, and then include the actual headers afterwards.
 // This is fragile, but seems to work, and doesn't require modification
 // of boost/shared_ptr.hpp.
@@ -23,12 +23,12 @@
 class bad_weak_ptr;
 template<class T> class weak_ptr;
 template<class T> class shared_ptr;
-template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
-template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b);
-template<class T, class U> shared_ptr<T> static_pointer_cast(shared_ptr<U> const & r);
-template<class T, class U> shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const & r);
-template<class T, class U> shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r);
-template<class D, class T> D * get_deleter(shared_ptr<T> const & p);
+template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b) BOOST_NOEXCEPT;
+template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b) BOOST_NOEXCEPT;
+template<class T, class U> shared_ptr<T> static_pointer_cast(shared_ptr<U> const & r) BOOST_NOEXCEPT;
+template<class T, class U> shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const & r) BOOST_NOEXCEPT;
+template<class T, class U> shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r) BOOST_NOEXCEPT;
+template<class D, class T> D * get_deleter(shared_ptr<T> const & p) BOOST_NOEXCEPT;
 template<class T> class enable_shared_from_this;
 
 namespace detail{


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