$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: xushiweizh_at_[hidden]
Date: 2008-05-03 21:55:33
Author: xushiwei
Date: 2008-05-03 21:55:32 EDT (Sat, 03 May 2008)
New Revision: 45101
URL: http://svn.boost.org/trac/boost/changeset/45101
Log:
tls_ptr - removed, use boost::thread_specific_ptr instead of tls_ptr
Text files modified: 
   sandbox/memory/boost/memory/thread/tls.hpp |    45 --------------------------------------- 
   1 files changed, 1 insertions(+), 44 deletions(-)
Modified: sandbox/memory/boost/memory/thread/tls.hpp
==============================================================================
--- sandbox/memory/boost/memory/thread/tls.hpp	(original)
+++ sandbox/memory/boost/memory/thread/tls.hpp	2008-05-03 21:55:32 EDT (Sat, 03 May 2008)
@@ -120,50 +120,7 @@
 NS_BOOST_MEMORY_END
 
 // -------------------------------------------------------------------------
-// class tls_ptr
-
-NS_BOOST_MEMORY_BEGIN
-
-template <class Type>
-class tls_ptr
-{
-private:
-	tls_ptr(const tls_ptr&);
-	void operator=(const tls_ptr&);
-
-public:
-	tls_key p;
-
-public:
-	typedef Type* pointer;
-	typedef Type& reference;
-
-public:
-	explicit tls_ptr(const tls_key& key) : p(key) {}
-
-	operator pointer() const {
-		return (pointer)p.get();
-	}
-
-	pointer BOOST_MEMORY_CALL operator->() const {
-		return (pointer)p.get();
-	}
-
-	pointer BOOST_MEMORY_CALL operator=(pointer lp) {
-		p.put(lp);
-		return lp;
-	}
-
-	bool BOOST_MEMORY_CALL operator!() const {
-		return p.get() == NULL;
-	}
-
-	reference BOOST_MEMORY_CALL operator*() const {
-		return *(pointer)p.get();
-	}
-};
-
-NS_BOOST_MEMORY_END
+// class tls_ptr - removed, use boost::thread_specific_ptr instead of tls_ptr
 
 // -------------------------------------------------------------------------
 // class tls_object