Boost C++ Libraries: Ticket #868: [thread] thread_specific_ptr::element_type ? https://svn.boost.org/trac10/ticket/868 <pre class="wiki">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&lt;void, void*&gt;( boost::detail::tss_adapter&lt;T&gt;( </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/868 Trac 1.4.3 Anthony Williams Tue, 22 May 2007 07:27:38 GMT owner, status changed; severity set https://svn.boost.org/trac10/ticket/868#comment:1 https://svn.boost.org/trac10/ticket/868#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">glassfordm</span> to <span class="trac-author">Anthony Williams</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> Ticket Anthony Williams Tue, 22 May 2007 07:29:13 GMT severity changed https://svn.boost.org/trac10/ticket/868#comment:2 https://svn.boost.org/trac10/ticket/868#comment:2 <ul> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Anthony Williams Thu, 24 May 2007 09:00:20 GMT status changed https://svn.boost.org/trac10/ticket/868#comment:3 https://svn.boost.org/trac10/ticket/868#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Daryle Walker Fri, 03 Aug 2007 12:28:22 GMT component changed https://svn.boost.org/trac10/ticket/868#comment:4 https://svn.boost.org/trac10/ticket/868#comment:4 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">thread</span> </li> </ul> Ticket Steven Watanabe Sat, 22 Aug 2009 19:40:54 GMT <link>https://svn.boost.org/trac10/ticket/868#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/868#comment:5</guid> <description> <p> I think this would be useful, because it would allow Boost.Lambda to deduce the result of dereferencing a thread_specific_pointer. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 08 Jun 2010 07:11:43 GMT</pubDate> <title>status, resolution changed https://svn.boost.org/trac10/ticket/868#comment:6 https://svn.boost.org/trac10/ticket/868#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed on trunk </p> Ticket