Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2007-03-26 11:39:36


Patches item #1686705, was opened at 2007-03-23 05:23
Message generated for change (Settings changed) made by mclow
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1686705&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Gareth Sylvester-Bradley (gmsb)
>Assigned to: Mike Glassford (glassfordm)
Summary: [thread] thread_specific_ptr::element_type ?

Initial Comment:
Would the following patch be useful?

--- /boost_1_33_1/boost/thread/tss.hpp 2007-03-23 12:21:33.000000000 +0000
+++ /boost_1_33_1/boost/thread/tss.hpp.patched 2007-03-23 12:21:20.000000000 +0000
@@ -73,6 +73,8 @@
 class thread_specific_ptr : private noncopyable
 {
 public:
+ typedef T element_type;
+
     thread_specific_ptr()
         : m_tss(new boost::function1<void, void*>(
                     boost::detail::tss_adapter<T>(

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1686705&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk