Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62552 - trunk/boost/thread
From: anthony_at_[hidden]
Date: 2010-06-08 03:11:30


Author: anthonyw
Date: 2010-06-08 03:11:28 EDT (Tue, 08 Jun 2010)
New Revision: 62552
URL: http://svn.boost.org/trac/boost/changeset/62552

Log:
Fix for issue #868 --- provide element_type typedef

Text files modified:
   trunk/boost/thread/tss.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/thread/tss.hpp
==============================================================================
--- trunk/boost/thread/tss.hpp (original)
+++ trunk/boost/thread/tss.hpp 2010-06-08 03:11:28 EDT (Tue, 08 Jun 2010)
@@ -62,6 +62,8 @@
         boost::shared_ptr<detail::tss_cleanup_function> cleanup;
         
     public:
+ typedef T element_type;
+
         thread_specific_ptr():
             cleanup(detail::heap_new<delete_data>(),detail::do_heap_delete<delete_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