Boost C++ Libraries: Ticket #8451: missing documented function 'boost::scoped_thread::joinable' https://svn.boost.org/trac10/ticket/8451 <p> I've found there is documented function: boost::scoped_thread::joinable.<br /> But there is no such declaration/definition in the source (boost/thread/scoped_thread.hpp). </p> <p> So the following code will produce compilation error saying 'joinable' is not a member of 'boost::scoped_thread&lt;&gt;' </p> <pre class="wiki">#include &lt;iostream&gt; #include &lt;iomanip&gt; #include &lt;boost/thread/scoped_thread.hpp&gt; int main() { boost::scoped_thread&lt;&gt; foo; std::cout &lt;&lt; std::boolalpha &lt;&lt; foo.joinable() &lt;&lt; std::endl; return 0; } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8451 Trac 1.4.3 record.nctu.cis91@… Wed, 17 Apr 2013 07:57:40 GMT attachment set https://svn.boost.org/trac10/ticket/8451 https://svn.boost.org/trac10/ticket/8451 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patchfile.patch</span> </li> </ul> <p> add-joinable-definition-in-scoped-thread </p> Ticket viboes Wed, 17 Apr 2013 17:27:45 GMT owner, status changed https://svn.boost.org/trac10/ticket/8451#comment:1 https://svn.boost.org/trac10/ticket/8451#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> You are right. I will add it soon. </p> Ticket viboes Thu, 18 Apr 2013 07:03:47 GMT milestone changed https://svn.boost.org/trac10/ticket/8451#comment:2 https://svn.boost.org/trac10/ticket/8451#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.54.0</span> </li> </ul> <p> Committed revision <a class="changeset" href="https://svn.boost.org/trac10/changeset/83949" title="Thread: add missing joinable in scoped_thread #8451 + construction ...">[83949]</a>. </p> Ticket viboes Sun, 21 Apr 2013 07:34:23 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8451#comment:3 https://svn.boost.org/trac10/ticket/8451#comment:3 <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-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83995" title="Thread fix #8451.">[83995]</a>) Thread fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8451" title="#8451: Bugs: missing documented function 'boost::scoped_thread::joinable' (closed: fixed)">#8451</a>. </p> Ticket